You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, when we open http://phoneformat.com/ and enter any U.S. number and select "India" then only it says it's valid number. This is how it works? Logically it is right as total number's count is 10. But just wanted to have your views.
Thanks,
Kiran
The text was updated successfully, but these errors were encountered:
Nice library! Thanks for this!
We are trying to incorporate your library in our solution. And we've two questions to ask you:
isValidNumber("PHONENUMBER", "COUNTRY NAME"); e.g.
isValidNumber("9998063528", "India");
Now, to do that, we've created one function which returns country code from Country name e.g.
var aCountryCode = countryNameToCode("India");
/Convert the country name to a code
country name (String) to 2 digit country code/
function countryNameToCode(countryName) {
}
Is it fine? Or there is better way to do it?
Thanks,
Kiran
The text was updated successfully, but these errors were encountered: