In my case:
$('#some_link').click(function(event){
event.preventDefault();
});
$('#some_link').unbind('click');
worked as the only method to restore the default action.
As seen over here: https://stackoverflow.com/a/1673570/211514
More Related Contents:
- Javascript with jQuery: Click and double click on same element, different effect, one disables the other
- jQuery Event Keypress: Which key was pressed?
- How to capture the browser window close event?
- What’s the difference between event.stopPropagation and event.preventDefault?
- Definitive way to trigger keypress events with jQuery
- How to order events bound with jQuery
- Firing event on DOM attribute change
- Can I call jQuery’s click() to follow an link if I haven’t bound an event handler to it with bind or click already?
- How to trigger the window resize event in JavaScript?
- event.preventDefault() vs. return false (no jQuery)
- How do you log all events fired by an element in jQuery?
- Handling key-press events (F1-F12) using JavaScript and jQuery, cross-browser
- How can I listen for a click-and-hold in jQuery?
- jQuery: How to get the event object in an event handler function without passing it as an argument?
- Listening for Youtube Event in JavaScript or jQuery
- Throttle event calls in jQuery
- jQuery: Unbind event handlers to bind them again later
- How do you detect the clearing of a “search” HTML5 input?
- JS Events: hooking on value change event on text inputs
- jQuery event that triggers after CSS is loaded?
- jQuery events .load(), .ready(), .unload()
- Performance difference between jQuery’s .live(‘click’, fn) and .click(fn)
- Get the clicked object that triggered jquery blur() event [duplicate]
- Drop event not firing in chrome
- Prevent onclick action with jQuery
- jQuery: How to listen for DOM changes?
- jquery/javascript: function(e){…. what is e? why is it needed? what does it actually do/accomplish?
- Is there an equivalent to e.PageX position for ‘touchstart’ event as there is for click event?
- Fire oninput event with jQuery
- How to capture browser close event?