jquery练习

1.$("div":has('span'))

2.$("li:last")

3.$("p:eq(1)").hide()

4.$("form input:checked").hide()

5.$("select option:selected").text()

6.$("#test").attr("id","ss")

7.$("div").remove()

8.$("div").unbind

9$("div").show()

原文地址:https://www.cnblogs.com/javaweb2/p/6511775.html