/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(".button_map").click(function() { alert('button clicked!'); return false; // this line stops the browser from completing any default behaviour such as scrolling the page });