how to test if TWO input fields are empty?
<p>Hi can someone please tell me what wrong with this line  (getting an error...)</p>

<pre><code>if ($("input[type=file]").val().length !==0) || $("#book_map_keys").val().length !==0) {
// do something
}
</code></pre>

<p>As you can probably see, I am testing to see either of these two input field are empty. (they don't both have to be empty) </p>

<p>If you could advise how this should be re-written, I'd be much appreciated.</p>

<p>//Edit:  the error is pointing to the 'OR' pipe character.   Adding those quotes didnt fix it, thanks anyway David</p>
