How to validate numbers and special charecters in javascript?
Answers
Answered by
0
heya mate HERE is ur answer
function checkInp()
{
var x=document.forms[ "myForm" ]["age" ].va
if (x consists of any letters) // this i
{
alert( "Must input numbers" );
return false ;
}
}
hope it helps Mark as BRAINLIEST if you like
function checkInp()
{
var x=document.forms[ "myForm" ]["age" ].va
if (x consists of any letters) // this i
{
alert( "Must input numbers" );
return false ;
}
}
hope it helps Mark as BRAINLIEST if you like
Similar questions