-

xiyuetaASP().remove() 属性方法

从DOM中删除匹配的元素集
快速上手

xiyuetaASP().remove()属性方法,1种调用方式:
1、xiyuetaASP("*").remove(); //从DOM中删除匹配的元素集(为函数)

尝试一下>>

  • 代码
  • 效果
<script src="https://www.xiyueta.com/js/xiyueta.min.js"></script>
<script>var asp='<'+'%\nfunction xiyueta(a,b)\nxiyueta=a+b\nend function\n\nfunction test(a,b)\ntest=a+b\nend function\n%>'
 
xiyuetaASP.load(asp); 
xiyuetaASP("xiyueta").remove()
$.log( xiyuetaASP.html() )
</script>
<%


function test(a,b)
test=a+b
end function
%>