Created
December 3, 2016 23:03
-
-
Save mojoblanco/9015047067725889ff3646d54ce76809 to your computer and use it in GitHub Desktop.
Disable specific link
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('a').click(function(e){ | |
if ($(this).attr('href') == "http://www.......") { | |
e.preventDefault(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment