TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Please use insertAdjacentHTML instead of innerHTML
1 points
by
d0vs
almost 14 years ago
MDN Docs page: https://developer.mozilla.org/en/DOM/Element.insertAdjacentHTML<p>But more importantly, the benchmark: http://jsperf.com/insertadjacenthtml
1 comment
whiterabbit
almost 14 years ago
You meant to write, "use appendChild()," right?