How to prevent a click on a ‘#’ link from jumping to top of page?
|
1 2 3 4 |
$( "#tagID" ).click(function(e) { e.preventDefault(); return false; }); |

|
1 2 3 4 |
$( "#tagID" ).click(function(e) { e.preventDefault(); return false; }); |
Leave a reply