Checking length of a textbox and showing relevant error message if its 0
<p>I have a textbox and im trying to check if it has anything in, and if it doesnt i need to show a relevant error message but even when i have entered something in it, it continues to show the error message</p>

<p>Iv created a it here <a href="http://jsfiddle.net/Atkinson1988/SzuVQ/" rel="nofollow">http://jsfiddle.net/Atkinson1988/SzuVQ/</a></p>

<pre><code>var DiarisedReason = $("#txtDiarisedReason").val();
if (jQuery.trim(DiarisedReason).length &lt; 0);
{
alert('Please Enter Diarised Notes');
return false;
}
​
</code></pre>

<p>Im not sure what im doing wrong?</p>

<p>Thank you for your time.</p>
