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><input type="button" name="send" value="Hide Entries" onclick="validate(),hide();"></p>
call the
hidefunction with in thevalidatefunction