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();
});
});
tutorial101 is the one place for high quality web development, Web Design and software development tutorials and Resources programming. Learn cutting edge techniques in web development, design and software development, download source components and participate in the community.
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();
});
});