I have implemented this function (libphonenumber javascript )in a website http://www.phoneformat.com/
How do i get the value returned by this html tag. Whether Yes or No
< DIV id="phone_valid" class="popup-value"></DIV>'
I have tried this
function checkSubmit(){
var country=$("#phone_valid").val();
if(country=="No")
{
alert("Not a valid number");
return false;
}
So far no luck
See Question&Answers more detail:os