3 ms·
We can already do that: clone first and replaceChild afterwards. It breaks already attached event handlers, undo buffers for input elements, and any existing r
by unilynx 8y ago
We can already do that: clone first and replaceChild afterwards.
It breaks already attached event handlers, undo buffers for input elements, and any existing references you have to DOM nodes.