title: Calling two functions and a html page with onclick event at the same time
body: <p>I need to call two functions and a html page at the same time using onclick event in javascript only
  This is what i tried..but its not working!!</p>
  
  <pre><code> &lt;button type="button"&gt;
          &lt;a href = "example.html"
          onclick="return check();
          check2();"&gt;Login &lt;/a&gt;
  &lt;/button&gt;
  </code></pre>