Jquery - Check for bad words on form submit?
Posted
by Probocop
on Stack Overflow
See other posts from Stack Overflow
or by Probocop
Published on 2010-04-26T11:31:46Z
Indexed on
2010/04/26
11:33 UTC
Read the original article
Hit count: 245
jQuery
Does anybody know of a good Jquery solution to checking for swear words when a form is submitted?
Basically I have a form which submits to Twitter, upon successfully passing a swear word check it will submit via ajax. I know how to do it in PHP (for non javascript enabled users), I did a foreach loop through an array of predefined bad words and checked them against what was submitted.
How would I do a similar thing with Jquery?
Thanks
© Stack Overflow or respective owner