4.6 html 標籤的操控
新增新的元素節點
.append()
$("#the_div").append("<p>段落</p>");.prepend()
.after() 與 .before()
.replaceWith()
複製
.clone()
移除元素
.remove()
.empty()
Last updated