i want to remove all event listeners on a element, it's simply by jquery:
$("#myEl").off()
now for some reason i must disable the jQuery lib and use vanilla js.
just for replacing, i use
el = document.getElementById("myEl")
el.removeEventListener(eventType) //for all listeners
of the type
el.removeEventListener() //for all listeners
it seems not work, if there is a simple way to do this?