What is the difference between empty and delete in jquery? -PHP Chinese website Q&A-What is the difference between empty and delete in jquery? -PHP Chinese website Q&A
Please watch and learn.
.empty()删除子元素和后代元素
.remove()删除包括自身元素及后代,移除绑定事件和jQuery数据
What is the difference between empty and delete in jquery? -PHP Chinese website Q&A-What is the difference between empty and delete in jquery? -PHP Chinese website Q&A
Please watch and learn.
.empty()删除子元素和后代元素
.remove()删除包括自身元素及后代,移除绑定事件和jQuery数据