title: preventDefault not work in submit button
body: <p>I have <code>html</code> form and when I clicked <code>submit</code> button page goes to insert.php
  I don't wont it 
  preventDefoult don't work
  I have this <code>script</code>
  html</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;form action="insert.php" method="post"&gt;
  &lt;input  type="text" name="username" placeholder=""&gt;&lt;br /&gt;
  &lt;input  type="text" name="name" placeholder=""&gt;&lt;br /&gt;
  &lt;input  type="text" name="lastname" placeholder=""&gt;&lt;br /&gt;
  &lt;input id="mail" name="email" type="text" placeholder="E-mail"&gt;&lt;br /&gt;
  &lt;input id="mail_1" type="text" placeholder="reply E-mail"&gt;&lt;br /&gt;
  &lt;input id="password" name="password" type="password" placeholder=""&gt;&lt;br /&gt;
  &lt;input id="password_1"  type="password" placeholder=""&gt;&lt;br /&gt; 
  &lt;input id="submit" type="submit" value="registration"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p><strong>jquery</strong></p>
  
  <pre><code>$("#submit").click(function(event){
      event.preventDefault();
  });
  </code></pre>