How to check if user submit Arabic words from a form?

Posted by ronanray on Stack Overflow See other posts from Stack Overflow or by ronanray
Published on 2010-04-19T01:59:40Z Indexed on 2010/04/19 2:03 UTC
Read the original article Hit count: 308

Filed under:
|

Hi Experts..

Is there any reliable way to check if user has entered Arabic words into a form and tries to submit it? Can Javascript handle this? Or, only server script like .NET can do this?

I'm thinking that if possible the script should directly prevent the user from inputting Arabic words into the form and show an alert pop up.

Please share any examples if you have any idea how to do it.

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ASP.NET