enter in textBox
<p>Im trying to create functionality in which after user enters "ENTER" button the button is clicked.</p>

<p>What I came to is :</p>

<pre><code>$(selector).keyup(function(e) {
    if (e.keyCode == 13) {
        eval($("#" + buttonID).attr('href'));
    }
});
</code></pre>

<p>it works perfectly but there is one example in which i would like it to behave in different way:</p>

<p>When I start typing letters in my textBox there are hints displayed below (stanard chrome behaviour) so that I can choose one of the previous values typed to the textBox. I choose it and hit enter. At this point I dont want to submit form but it does according to my js code. Is there any way to get rid of such behaviour ?</p>

<p>thanks for help</p>
