I got some annoying issues with textarea element.
I can't validate that <textarea> is empty inside if statement.
this is the HTML code
I didn't enter any text inside this textarea element but when I apply the condition
<textarea rows="6" cols="80" name="message" style="margin-top:20px;border:solid 1px #B7F0FF;" wrap="virtual">
if(message.value="") return true;
the condition becomes false that should have been true;
one more thing, when I checked this property message.value.length, it gives the value 11 not 0 while the textarea is empty.
how can I make this problem solved?