Answers for "link html button to javascript function"

3

button functions html

<script>
 function myFunction() {
   alert("ALERT");
 }
</script>
<button onclick="myFunction">Click</button>
Posted by: Guest on September-22-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 "link html button to javascript function"

Code answers related to "Javascript"

Browse Popular Code Answers by Language