jquery make enter button submit form
<p>I have a simple form that looks like this:</p>

<pre><code>&lt;form action="#" name="submit" method="post"&gt;
        &lt;input name="zip" id="zip" type="text" value="" class="zip-start" /&gt;
        &lt;div class="form-submit"&gt;&lt;a href="" id="zipformSubmit" rel="zipformSubmit" class="zipformSubmit"&gt;Submit&lt;/a&gt;&lt;/div&gt;
    &lt;/form&gt;
</code></pre>

<p>I have JS that looks like this:</p>

<pre><code>&lt;script&gt; 
    $(document).ready(function() { 
    $("a[rel=zipformSubmit]").click(function(e) { 
        e.preventDefault();
         var zip = $('#zip').val();
         if (zip.length &lt; 5) { alert("Please enter a valid zip code"); return false;};
        $.colorbox({href: "/ppc/form.htm?zip=" + zip, iframe:true, innerWidth:800, innerHeight:600}); 
    }); 
    });  
&lt;/script&gt;
</code></pre>

<p>The problem is that the user can only submit this form by clicking on the submit button.  Any ideas on how i can adjust the js so that the enter button also submits the form?</p>

<p>thanks in advance</p>
