multiple javascript functions onclick code example
Example 1: can we add two functions onclick event
//You can create a single function that calls both of those, and then use it in the event.
function myFunction(){
pay();
cls();
}
Example 2: can you have multiple onclick events
<input type="button" value="test" onclick="Hey(); Ho();" />