how to call 2 function with 1 button click html 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();"/>