TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Please use insertAdjacentHTML instead of innerHTML
1 点
作者
d0vs
将近 14 年前
MDN Docs page: https://developer.mozilla.org/en/DOM/Element.insertAdjacentHTML<p>But more importantly, the benchmark: http://jsperf.com/insertadjacenthtml
1 comment
whiterabbit
将近 14 年前
You meant to write, "use appendChild()," right?