1.addClass()给被选中的元素添加一个类$("p").addClass("text_box"); $(document).ready(function(){ $("button").click(function(){ $("p:first").addClass("intr_class"); ... Read More
posted @ 2013-07-18 10:46 yezi657 Views(210) Comments(0) Diggs(0)