adding two on click in one function 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();"/>
onclick="One(); Two(); Three()"
<input id="btn" type="button" value="click" onclick="pay(); cls();"/>