JSFiddle - React, Tailwind, and code Playground

by Nick Craver

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dot-luv/jquery-ui.css">
<a id="myelement" href="#">Test</a>
<button>Unbind</button>

JavaScript

$("a").click(function() { alert("hi"); });

$("button").click(function() {
    delete $.cache[document.getElementById("myelement")[$.expando]].events.click;
});