Prevent Anchor Links from Loading

Submitted by:Andery Smith

Date added:11 April, 2013

Category:jQuery

jQuery example to prevent Anchor Links from Loading

Tags: prevent link

Code Snippet:

$("a").on("click", function(e){
e.preventDefault();
});
 
 

Comments