title: onSubmit returning false is not working
body: <p>I'm completely confused ... I'd swear this was working yesterday ... I woke up this morning and all my forms stopped to work in my project.</p>
  
  <p>All the forms have a "onsubmit" to a function that returns false since it's an ajax call, so the form is never sent.</p>
  
  <p>After a lot of tests, I simplified the question to this piece of code:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript"&gt;
   function sub()
   {
    alert ("MIC!");
    return false;
   }
  &lt;/script&gt; 
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;form method = "post" id = "form1" onsubmit = "return sub()"&gt;
   input: &lt;input type="text" name="input1" &gt;
      &lt;a href="#" onClick="document.getElementById('form1').submit();"&gt;button&lt;/a&gt; 
  &lt;/form&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I would swear that this works perfectly, but today is nor working :D</p>
  
  <p>Why if I press the button the form is sent ?</p>
  
  <p>I know it's a total newbie question, but I'm stuck</p>
  
  <p>Thank you !</p>