摘要: @1.empty() 删除匹配元素集合中所有的后代字节点元素; helloworld $("p").empty(); @2.remove([expr]) 接收参数表示删除指定的元素$("p").remove() 删除所有段落$("p").remove(".hel") 删除带有.hel类名的段落这个方... 阅读全文
posted @ 2015-01-12 14:52 ITCHN 阅读(634) 评论(0) 推荐(0) 编辑