asp.net - Jquery only Few special character validation -


How can I validate all the text boxes on a page with special characters on the key up event using jquery

Special characters should not be allowed: & lt; & Gt; () "'/ & Amp;

Can I do jquery verification on all textboxes with regex?

Please help.

String = "[[lt; & Gt; () "" '\ & Amp;) "worked on the net with the lines below the RGXFfring. IsValidString = No RGXSafeString.IsMatch (StringValue)) as the new Strege (StringParten)

Well there is a jQuery plugin that you can also do a checkout demo here.

But when you have a regular Expressions are familiar to you. I suggest that you have a few more tips on javascript regular expression for more.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

memcached - Django cache performance -