how to call a javascript function on button click in html code example
Example: calling function on click html
<img src="hospital.png" id="hospitals" onclick="damarkers();">
<img src="hospital.png" id="hospitals" onclick="damarkers();">