/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('#theLink').click(function(evt) { // do something // stop the event from continuing evt.preventDefault(); evt.stopPropagation(); });