6 ms·
By using innerHTML you lose event bindings of all elements in the container you're appending data to, and the state of inputs.
by alisey 13y ago
By using innerHTML you lose event bindings of all elements in the container you're appending data to, and the state of inputs.