Using JQuery, how do I check that at least one textbox is not empty?
<p>Sounds simple but it's giving me grief:</p>

<p>Tried this:</p>

<pre><code>function validateAddress() {

    if (!($('&lt;%=txtPlaceName.ClientID%&gt;').val() === "")
         || !($('&lt;%=txtStreet.ClientID%&gt;').val() === "")
         || !($('&lt;%=txtAddress.ClientID%&gt;').val() === "")
         || !($('&lt;%=txtPostcode.ClientID%&gt;').val() === "")) {

        return true;
    }

    return false;
}
</code></pre>

<p>and this:</p>

<pre><code>function validateAddress() {

    if ($('&lt;%=txtPlaceName.ClientID%&gt;').val().length &gt; 0
         || $('&lt;%=txtStreet.ClientID%&gt;').val().length &gt; 0
         || $('&lt;%=txtAddress.ClientID%&gt;').val().length &gt; 0
         || $('&lt;%=txtPostcode.ClientID%&gt;').val().length &gt; 0) {

        return true;
    }

    return false;
}
</code></pre>

<p>but neither seem to work, am I doing it correctly?</p>
