What does "Return false;" in onclick event for JavaScript mean?
<p>What does "Return false;" in onclick event for JavaScript mean?</p>

<pre><code>    &lt;input 
      type="button" 
      runat="server" 
      id="btnCancel" 
      value=" Cancel " 
      style="width:70px;"
      onclick="document.location.href = 'ReportPanel.aspx'; return false;" 
    /&gt;
</code></pre>

<p>in the onclick event. It has <code>return false;</code> What does it mean? What does it mean if <code>return true;</code>?</p>
