How can I force a form to submit using JavaScript when a person hits the space bar in the input field?
<p>Is that possible?  Google searches are leading me nowhere.</p>

<p>My Sample form:</p>

<pre><code>&lt;form action="search.asp" method="post" name="form1"&gt;

    User ID &lt;input type="text" size="15" name="userid"&gt;&lt;p&gt;
    Last Name &lt;input type="text" size="15" name="lastname"&gt;&lt;p&gt;
    School &lt;input type="text" size="15" name="school"&gt;&lt;p&gt;
    District &lt;input type="text" size="15" name="district"&gt;&lt;p&gt;
    Email &lt;input type="text" size="20" name="email"&gt;&lt;p&gt;

    &lt;input type="submit" value=" Go Search! "&gt;

&lt;/form&gt;
</code></pre>

<p>This needs to work from any input box on the form.  I tried onkeyUP but wouldn't work or I probably wrote it wrong.  I am no javascript expert.  Any ideas?</p>
