Observe Form Submit
<p>I use this to invoke a function when a form on the page is submitted:</p>

<pre><code>$$("form").invoke("observe", "submit", submitForm);
</code></pre>

<p>I'm having a problem getting this to work in IE when a text field has focus and the enter key is pressed.  Firefox submits the form in this case but not IE.</p>

<p>The form has one submit button:</p>

<pre><code>&lt;input type="submit" value="Submit"/&gt;
</code></pre>

<p>Clicking the submit button works fine in both browsers using this method.</p>
