Dear all
i want allow into my textbox charecters and coma,speace,+,- dont allow numbers
javascript
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pradeep ShetPosted Aug 12, 2014, 1:38 PM
if(regEx.text(textbox.value))
{
//valid
}
else
{
//Invalid
}
Mark it answered if helped
VulpesPosted Aug 12, 2014, 5:08 AM
Prasad BhagatPosted Aug 12, 2014, 1:19 AM
i need sample code
Pradeep ShetPosted Aug 12, 2014, 1:12 AM
You can validate it for IsNumber(txtbox.value) else use regular expression and validate it using
regEx.text(textbox.value) .About how to write regular expression you can find lots of websites
Hope this helps you. If it is so plz mark it as answered