title: Submit form without page reloading
body: <p>I have a classifieds website, and on the page where ads are showed, I am creating a &quot;Send a tip to a friend&quot; form...</p>
  <p>So anybody who wants can send a tip of the ad to some friends email-adress.</p>
  <p>I am guessing the form must be submitted to a php page right?</p>
  <pre class="lang-html prettyprint-override"><code>&lt;form name=&quot;tip&quot; method=&quot;post&quot; action=&quot;tip.php&quot;&gt;
    Tip somebody: 
    &lt;input 
      name=&quot;tip_email&quot;
      type=&quot;text&quot; 
      size=&quot;30&quot; 
      onfocus=&quot;tip_div(1);&quot; 
      onblur=&quot;tip_div(2);&quot;
    /&gt;
    &lt;input type=&quot;submit&quot; value=&quot;Skicka Tips&quot; /&gt;
    &lt;input type=&quot;hidden&quot; name=&quot;ad_id&quot; /&gt;
  &lt;/form&gt;
  </code></pre>
  <p>When submitting the form, the page gets reloaded... I don't want that...</p>
  <p>Is there any way to make it not reload and still send the mail?
  Preferrably without ajax or jquery...</p>