Version: 2.0.4
var div = make("<div><a id='a1'></a></div>") var a = htmx.find(div, 'a') htmx.remove('#a1') div.innerHTML.should.equal('')