JQuery
chengpengcp9
这个作者很懒,什么都没留下…
展开
-
jquery自学系列二:选择器(上)
再讲解jquery选择器之前我们先学习一下CSS选择器 css选择器 选择器 语法 描述 示例 标签选择器 E{ CSS规则 } 以文档元素作为选择符 td{ font-size:14px; with:120px; } a{ text-decoration:none; } ID选择器 #ID{转载 2012-04-16 14:24:47 · 327 阅读 · 0 评论 -
jquery自学系列三:选择器(下)
二)层次选择器 jquery层次选择器 选择器 描述 返回 示例 $("ancestor descendant") 选取ancestor元素里所有的descendant(后代)元素 集合元素 $("div span")选取里的所有元素 $("parent>child") 选取parent元素下的子元素child 集合元素 $("div >转载 2012-04-16 15:33:31 · 310 阅读 · 0 评论 -
jquery自学系列一:hellowrold
我们学习所有的编程语言都是从helloworld开始,jquery的第一个程序也从这里开始了! 不过在此之前要去jquery的官网下载jquery的库,网址如下:http://jquery.com/,最新版本为1.7.2,本系列的测试版本均为1.7.2 helloworld程序如下: $(document).ready(function() { // ready的作用是当页面转载 2012-04-16 12:08:21 · 329 阅读 · 0 评论