码迷,mamicode.com
首页 > 其他好文 > 详细

课堂听写

时间:2019-06-03 09:19:56      阅读:91      评论:0      收藏:0      [点我收藏+]

标签:类型   select   taf   after   nbsp   课堂   for   detach   nts   

var li =$

在末尾添加子与元素

appded()

appdedTo()

在开头添加子与元素prepend()

prependTo()

 

同被节点

after()

insertAftr()

 

before()

insertBefore()

 

删除节点

removeClass()

清空节点内容

detach()

empoty()

 

替换节点

replaceAll()

replacewith()

 

复制节点

$($selectorl).clonce([includeEvents])

绑定事件

bind(type,fn);    type:事件类型(click等)  fn:方法函数    绑定多个:bind{type:fn , type:fn , type:fn}

unbind([type],[fn]);

 

课堂听写

标签:类型   select   taf   after   nbsp   课堂   for   detach   nts   

原文地址:https://www.cnblogs.com/liyado/p/10965707.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!