title: How do I put an onclick and a return false statement in the same submit button?
body: <p>From what I understand, the default treatment for return false is:</p>
  <pre><code>&lt;input type=&quot;submit&quot; onclick=&quot;return false&quot; /&gt;
  </code></pre>
  <p>However in my code I would like to have a submit button run a separate js function <code>onclick</code> which will give ajax output based on which radio button the user selected.</p>
  <p>But since I'm using ajax and my js function to take care of the output, I want the submit button to return false.</p>
  <p>But if I am already using <code>onclick</code> to point to the function:</p>
  <pre><code>&lt;input type=&quot;submit&quot; onclick=&quot;jsfunction()&quot; /&gt;
  </code></pre>
  <p>where do I put return false?</p>
  <p>Can I have 2 <code>onclick</code> statements?</p>
  <p>The other option I would imagine is that if I know I am not going to be submitting the form regardless of which value the function returns, that it shouldn't be a submit button at all?</p>
  <p>But if that's the case, is there a button I can code in html that looks the same as submit but doesn't have the submit property?</p>