jQuery validation on textarea
Posted
by Espen Arnoy
on Stack Overflow
See other posts from Stack Overflow
or by Espen Arnoy
Published on 2010-06-01T17:09:57Z
Indexed on
2010/06/01
17:13 UTC
Read the original article
Hit count: 248
I have this code inside a form of mine:
<textarea>Your message</textarea>
The html content of the tag will be emptied on focus.
I want to run some validation on this field with jQuery. First, the value of this field should not be = "". Secondly, the content of the tag should not be = "Your message".
Anyone knows how I can archive this in the most efficient way?
© Stack Overflow or respective owner