This commit is contained in:
suresh 2023-07-22 15:21:14 +05:30
parent 4b95341a25
commit 157d17db65
3 changed files with 17 additions and 1 deletions

View File

@ -331,6 +331,14 @@ function get_country_code()
//alert(countryCode); //alert(countryCode);
$('#country_code_post').val(countryCode); $('#country_code_post').val(countryCode);
} }
$('#country').change(function() {
var country = $("#country").val();
if(country != 'Canada')
{
$('#state').val('');
}
});
</script> </script>

View File

@ -454,7 +454,7 @@ $('#country').change(function() {
{ {
$('#state').val(''); $('#state').val('');
} }
}); });
</script> </script>
<script> <script>

View File

@ -238,6 +238,14 @@ function get_country_code()
//alert(countryCode); //alert(countryCode);
$('#country_code_post').val(countryCode); $('#country_code_post').val(countryCode);
} }
$('#country').change(function() {
var country = $("#country").val();
if(country != 'Canada')
{
$('#state').val('');
}
});
</script> </script>