js基础---js操作dom元素节点的方法

chenyanglearing / 2023-05-11 / 原文

replaceWith():使用括号内元素替换当前元素
remove():删除当前元素

解决点击a标签不跳转页面的方法