Enter key should work for search?
<p>In my php application i am using textfield and button[search].</p>

<p>when i am entering some data and i press Enter key the button action is not working.</p>

<p>can some one help on this. </p>

<p>My code like,</p>

<pre><code>&lt;input type="text" name="q" /&gt;
&lt;input type="button" value="search" onclick="search()"&gt;
</code></pre>
