set two functions onclick code example
Example: 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();
}
//You can create a single function that calls both of those, and then use it in the event.
function myFunction(){
pay();
cls();
}