TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Please use insertAdjacentHTML instead of innerHTML

1 pointsby d0vsalmost 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

whiterabbitalmost 14 years ago
You meant to write, "use appendChild()," right?