title: trigger 2 functions on an onclick event
body: <p>I am calling 2 functions on an onclick event of a button , first function to check the form validations and the next one for hiding the form if and only if the validation is true. But the problem here is when i click the Button both the functions are been simultaneously called and eventhough validation is false form gets hided quickly. Any solution to this would be helpful . THANKS</p>
  
  <pre><code>       &lt;p&gt;&lt;input type="button" name="send" value="Hide Entries" onclick="validate(),hide();"&gt;&lt;/p&gt;
  </code></pre>