Answers for "call a function on button click javascript"

4

javascript onclick

document.getElementById("Save").onclick = function ()
    {
     alert("hello");
     //validation code to see State field is mandatory.  
    }
Posted by: Guest on September-08-2020
0

calling function on click html

<img src="hospital.png" id="hospitals" onclick="damarkers();">
Posted by: Guest on June-27-2020

Code answers related to "call a function on button click javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language