2015年5月25日

jQuery选择器大全

摘要: 1. id选择器(指定id元素)将id="one"的元素背景色设置为黑色。(id选择器返单个元素)$(document).ready(function () { $('#one').css('background', '#000'); });2. class选择器(遍历css类元... 阅读全文

posted @ 2015-05-25 15:41 dudumao 阅读(552) 评论(0) 推荐(0) 编辑

导航

阿里云