Created
May 13, 2016 16:05
-
-
Save kfrancis/6dc80332040b36faa675980e8142d95f 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
var countryDdl = $("#subscription_payment_profile_attributes_billing_country"); | |
if (countryDdl) { | |
countryDdl.empty(); // Remove all existing options | |
$("<option />", {val: "US", text: "United States"}).appendTo(countryDdl); // Add US | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment