use document.open
- it will also clear all the nodes in your document though
If you want to remove event listeners for a specific element or a set of elements - just clone them and replace the real ones with their clones.
use document.open
If you want to remove event listeners for a specific element or a set of elements - just clone them and replace the real ones with their clones.
"The one who made them, must never deny them... Don't blame the ships! A man must be proud of every ship he's ever created!!"
— Tom the Shipwright