Javascript Question HELP HELp
Posted: Wed Jun 16, 2004 7:59 am
I'm trinyingg to check to make sure the there are no letters entered into the field just numbers. But this is stuck in the if stament and never leaves
Code: Select all
if(phonecheck.value = "NaN")
{
alert("Must Be A number no letters");
return(false);
}
else
{
return(true);
}