Answers for "call a function on link click"

0

button click event call url

<input type="button" value="My Button" 
onclick="location.href = 'https://myurl'" />
Posted by: Guest on June-02-2021
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 link click"

Code answers related to "Javascript"

Browse Popular Code Answers by Language