jQuery: Weirdest issue with submitting a form with jquery?
<p>I've been stuck with this issue for almost 3 days!</p>

<p>I have an input button: <code>&lt;input type="button" id="submit" value="Upload"/&gt;</code>
Using jQuery 1.6.1, in the document.ready, I'm binding the button to submit the form like this:</p>

<pre><code>$('#submit').click(function() {
     $('form').submit();
});
</code></pre>

<p>Using FireBug, the line <code>$('form').submit()</code>; causes an error with jquery!
After 3 days of trying to figure out the issue, it seems that naming the input button id="submit" is what's causing the bug! When I changed the id to something else, it worked!</p>

<p>Any technical explanation to this?</p>
