How to use jQuery to find a link within the div with a certain class and make it inactive, that is to deprive the property links to her it was impossible to push.
$("div.someClass").find("a").removeAttr("href");
or if you would rather not get rid of the href attribute:
$("div.someClass a").click(function(e) {
e.preventDefault();
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With