
jQuery
iteye_1678
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
jQuery Selectors
To select elements using jQuery, we wrap the selector in $(), as in $("p a.specialClass"). The $() function (an alias for the jQuery() function) returns a special Java-Script object containing...原创 2010-11-28 12:02:55 · 239 阅读 · 0 评论 -
$ in jQuery
1.The jQuery wrapper:Select and wrap DOM elements to operate upon The $() function (an alias for the jQuery() function) returns a special Java-Script object containing an array of the DOM elemen...原创 2010-11-28 13:43:00 · 143 阅读 · 0 评论 -
Managing the wrapped element set
Remember, any jQuery wrapped set can be used as an array of element references. 1.Determining the size of the wrapped set Command syntax:size() Returns the count of elements in the wrapped set ...原创 2010-11-28 14:43:45 · 108 阅读 · 0 评论 -
Manipulating element properties and attributes
1.Manipulating element properties Command syntax:each(iterator) Traverses all elements in the matched set invoking the passed iterator function for each. Parameters iterator (Function) A function ...原创 2010-11-28 23:19:11 · 118 阅读 · 0 评论 -
Changing element styling
1.Adding and removing class names Command syntax:addClass(names) Adds the specified class name or class names to all elements in the wrapped set Parameters names (String) A string containing th...原创 2010-11-29 20:48:50 · 85 阅读 · 0 评论 -
Setting element content
1. Replacing HTML or text content Command syntax:html() Obtains the HTML content of the first element in the matched set. Parameters none Returns The HTML content of the first matched element...原创 2010-11-29 22:22:33 · 154 阅读 · 0 评论