I am Using
Java Script to validate only phone in text box using following code ...
if(isNaN(parseInt(document.frm.phone.value)))
{
alert("Enetr Number only in the Phone Column");
}
if i give the input any character (example: abcdef ) in texbox it will check and give the Correct alert message ...
but i give the input (example: 52hghg ) in textbox it will accept it .. Whenever i give the input starting with any number it will accept ..
Why? What is the Reason How to Validate number only in textbox...