I have a textbox named "txtName" and a button (btnSave) on a webform.
After I have typed the illegal characters into the textbox and click "Save", I would like the webform to check for those characters and display a message, "Illegal Characters not allowed". How do I achieve that in JavaScript?
Sorry if it seems too simple as I am kinda weak in programming.
Thanks.
After I have typed the illegal characters into the textbox and click "Save", I would like the webform to check for those characters and display a message, "Illegal Characters not allowed". How do I achieve that in JavaScript?
Sorry if it seems too simple as I am kinda weak in programming.
Thanks.
Comment