I'm having problem trying to remove the default click event handler from a tag. I want in the end to add another handler. I tried the following but didn't work :
My HTML head
<script src="/Scripts/jquery-2.0.3.js"></script>
The html body
<aside id="content">
<a id="goNext" href="/Home/NextPage?pageIndex=1">Next page</a>
<div>Page number : 0</div>
</aside>
The script
<script type="text/javascript">
$("#goNext").unbind("click");
$(window).off("click", "#goNext", false);
$("#goNext").off("click");
</script>
NB : I'm using jQuery 2.0.3