title: With form validation: why onsubmit="return functionname()" instead of onsubmit="functionname()"?
body: <p>The question is pretty self-explanatory. I don't understand what the return is doing in the following code:</p>
  
  <pre><code>&lt;form onsubmit="return somefunction()"&gt;
  </code></pre>