title: example showing how to write two onclick() events for a single html:button in jsp page
body: <pre><code>&lt;td colspan="2" align="center"&gt;&lt;html:submit onclick= "return validateText()"
              styleId="reject"  &gt; Reject Version &lt;/html:submit&gt;&lt;/td&gt;
  </code></pre>
  
  <p>i want to write one more onclick event for this button.</p>
  
  <p>please suggest quickly some good examples.</p>