add more than one functionality onclick of button javascript code example
Example 1: onclick many functions html
onclick="One(); Two(); Three()"
Example 2: call two methods on button click
<input id="btn" type="button" value="click" onclick="pay(); cls();"/>