Jquery + know if a string is empty or just contains spaces
<p>I know I can use the following to check if a string is empty in Jquery:</p>

<pre><code> if(Message != '')
</code></pre>

<p>How would I check to see if a string 'Message' in this case - is empty and doesn't contain a number of spaces. eg:</p>

<pre><code> '    '
</code></pre>

<p>would I need to use regular expressions in jquery?</p>

<p>thx</p>
