title: JavaScript onclick() function not working
body: <p>I have JavaScript code including several functions, the main one being <code>CheckForm()</code>.</p>
  
  <p>The function is called by clicking the 'Submit' button: </p>
  
  <pre><code>&lt;td&gt;&lt;input type="submit" name="submit1" id="submit1" value="Register" onclick="return CheckForm();"/&gt;&lt;/td&gt;    
  </code></pre>
  
  <p>But when the button is pressed nothing happens (the function isn't performed). What can I do to fix this?</p>