how to give two function in onclick in js 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();"/>