I have setup a jQuery way to submit messages by the users. And it works fine. But I want to include a clientside validation on the "msg" being submitted by the user (already coded server side validation).
What I want to validate is, it shouldn't contain any HTML tags or scripts or anything harmful.
Any ideas or code bits ?
Note: I'm very much new to jQuery