Created
November 6, 2019 19:57
-
-
Save be-mohand/9d874027382275a62ce1c2880770d83f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hide the div | |
document.getElementById('bank_account_bank_account_type_div').style.display = "none"; | |
// Select the "GB" value and trigger a change to update the fields to display | |
var bank_account_bank_account_type_input = document.getElementById('bank-account-type'); | |
bank_account_bank_account_type_input.value = 'GB'; | |
bank_account_bank_account_type_input.dispatchEvent(new Event('change')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment