If statement in Javascript?
<p>Is this code correct?</p>

<pre><code>if(!($('textarea: name').val().length == 0)) {
alert("test");
}
</code></pre>

<p>I want to check if there is something written or not inside the textarea field in the form? I ask because it's not working!?</p>
