Click here to Skip to main content
15,902,923 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
how can i create javascript validation at control level??
for example: if i have created a type text and has put a validation of using only email format..
using regular expression i have put the validation of email format....
now i want that the user should get a message in a pop-up-window at control level when he is typing wrong format...by not clicking any button he should get an alert message


JavaScript

Posted

1 solution

you can do it on text_changed event of email_textbox...
try it...
 
Share this answer
 
Comments
[no name] 1-Mar-14 12:04pm    
check the format in onkeyup function

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900