diff --git a/app/Views/member_form.php b/app/Views/member_form.php index 375bd5d..c9a0bf8 100644 --- a/app/Views/member_form.php +++ b/app/Views/member_form.php @@ -331,6 +331,14 @@ function get_country_code() //alert(countryCode); $('#country_code_post').val(countryCode); } +$('#country').change(function() { + var country = $("#country").val(); + if(country != 'Canada') + { + $('#state').val(''); + } +}); + diff --git a/app/Views/memberaccess.php b/app/Views/memberaccess.php index 575440a..2122ee0 100644 --- a/app/Views/memberaccess.php +++ b/app/Views/memberaccess.php @@ -454,7 +454,7 @@ $('#country').change(function() { { $('#state').val(''); } - }); +});