3 ms·
> need innerHTML parent.appendChild(document.createElement(tag))
by joquarky 8mo ago
> need innerHTML
parent.appendChild(document.createElement(tag))
- iLoveOncall 8mo agoHow is adding an element to the parent the same as replacing all the content of the element? You guys are exhausting. Think a bit before spouting nonsense?