摘要:
样式表: .important{ font-weight:bold; font-size:xx-large; } .blue{ color:blue; } 1.addClass():向被选元素添加一个或多个类 $("button").click(function{ $("h1,h2,p").addC 阅读全文
posted @ 2016-10-17 23:06
小春熙子
阅读(157)
评论(0)
推荐(0)
摘要:
1.DOM,就是Document Object Model(文档对象模型) 2.获得内容的方法: **text():设置或返回所选元素的文本内容 $("#btn1").click(function{ alert("Text: " +$("#test").test()); }); **html():设 阅读全文
posted @ 2016-10-17 14:01
小春熙子
阅读(280)
评论(0)
推荐(0)

浙公网安备 33010602011771号