I need to use an ASMX service to validate a phone number. The Web method requires the phone number and the countryId.
I have the validation working fine except for the case where the user enters a valid number for, say, the default country (United States) and then selects some other country, not changing the phone number. I can force validation when the country dropdown value changes by using the validator.element() method. But because (previous.old !== value) returns true (see line 897 in jquery.validate.js), the ajax call isn't made. What's the best way to force this call so that I can validate remotely when the country changes?