Computer Science, asked by airtravel260, 1 year ago

How to validate numbers and special charecters in javascript?

Answers

Answered by munamabdullah5pavdk5
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
Similar questions