hungnguyen
Programmer
Hi all,
I have a problem which is I would like to check a text box whether user type some special characters as %, ", ', ^, ~, |. For example, I have a text box name LastName. If user enter as L'Fenta, there would be a message to notify user know that he/she can't enter the character '. I believe that in VBscript we have a function instr; however, how it can be done in Javascript.
Thanks
Hung Nguyen
I have a problem which is I would like to check a text box whether user type some special characters as %, ", ', ^, ~, |. For example, I have a text box name LastName. If user enter as L'Fenta, there would be a message to notify user know that he/she can't enter the character '. I believe that in VBscript we have a function instr; however, how it can be done in Javascript.
Thanks
Hung Nguyen