Hi,
Code below returns true for (.). It should return false like it returns false for (,). Is there any other way to check (.) and (,). I simply want validate money.
Thanks
if (isNaN(form1.paid.value)) {
alert ("Syntax is not right.");
return false;
}
return true;