无限极添加HTML代码
2021-01-05 08:32
阅读:384
标签:lse == find row his function html ddr one 无限极添加HTML代码 标签:lse == find row his function html ddr one 原文地址:https://www.cnblogs.com/2019gdiceboy/p/13618241.htmlhtml:
[+]
JS:
function addrow(o){
var div=$(o).parent().parent();
if($(o).html() == ‘[+]‘){
var newdiv=div.clone();
newdiv.find(‘a‘).html(‘[-]‘);
div.after(newdiv);
}else{
div.remove();
}
}
评论
亲,登录后才可以留言!