article

Friday, August 2, 2013

How to enable or disable an anchor using jQuery

How to enable or disable an anchor using jQuery To prevent an anchor from following the specified href
$(document).ready(function() {
    $('a.something').click(function(e) {
        e.preventDefault();
    });
});

Related Post