📜  如何在javascript代码示例中的元素周围插入div

📅  最后修改于: 2022-03-11 15:02:25.360000             🧑  作者: Mango

代码示例1
org_html = document.getElementById("slidesContainer").innerHTML;
new_html = "
" + org_html + "
"; document.getElementById("slidesContainer").innerHTML = new_html;