jQuery筛选
1.过滤
?
?
?
?
$(document).ready(function(){ $("#id_but").click(function(){//addalert($("p").add("<span>hello</span>").text());//chinahelloalert($("p").add("label").text());//chinahello//该方法将两个jQuery结果集连接起来形成一个新的结果集,不会影响页面显示//contents$("p").contents().wrap("<b/>");//china加粗$("#id_ifn").contents().find("body").append("<div>Hello China</div>");//addSelf$("#td_002").find("a").andSelf().css("color","red");//zhang和san都会变成red$("#td_002").find("a[href*='#']").andSelf().css("color","red");//等效//end()$("#td_002").find("a").click(function(){alert("This is super link");return false;}).end().css("color","red");});});?