All the elements with .btn class are bound to a jQuery click event on page load. Is there a way to unbind a single element that uses the class .btn. I tried by adding return false in the onclick event to an anchor tag like this
<a href="index.html" class="btn" onclick="return false;" target="_blank">Link</a>
but it doesn't seem to override or prevent it from performing the click event bound by jQuery
EDIT
Thanks for all the answers, but is there an inline solution to this? Something like onclick="event.preventDefault();"
Also follow up question: Just curious, which among onclick and jQuery event listener gets called first?
index.html