3 ms·
I wonder if document.write() would work for you. The old-fashioned APIs from before the DOM era (e.g innerHTML, innerText) generally seem to be a lot shorter al
by tdeck 6y ago
I wonder if document.write() would work for you. The old-fashioned APIs from before the DOM era (e.g innerHTML, innerText) generally seem to be a lot shorter although they're still a bit verbose.
- rukshn 6y agoYes I guess that was the right way all along, I saw a comment on this thread using innerHtml and write