如图是一个html的字符串,有什么办法可以得到红框中的内容?
1 回答
呼如林
TA贡献1798条经验 获得超3个赞
var dom = $('a').clone();
dom.find('i,button').remove();
console.log(dom.html());
添加回答
举报
0/150
提交
取消
