jQuery
lissanwen
这个作者很懒,什么都没留下…
展开
-
Factory function $
the $() function removes the need to do a for loop to access a group of elements since whatever we put inside the parentheses will be looped through automatically and stored as a jQuery object. We...原创 2009-11-25 14:36:36 · 172 阅读 · 0 评论 -
Custom selectors
[b]Custom Selectors[/b] To the wide variety of CSS and XPath selectors, jQuery adds its own custom selectors. Most of the custom selectors allow us to pick certain elements out of a line-up, so to ...2009-11-25 16:25:25 · 114 阅读 · 0 评论 -
jquery methods
[b].bind() [/b]method This method allows us to specify any JavaScript event, and to attach a behavior to it. In this case, the event is called click, and the behavior is a function consisting of o...2009-11-26 14:04:08 · 196 阅读 · 0 评论 -
jquery methods(chapter 4)
[b].css()[/b] [code="java"]• .css('property','value') • .css({property1: 'value1', 'property-2': 'value2'})[/code] [quote]Numeric values do not take quotation marks while string values do. But, wh...2009-11-27 08:58:16 · 94 阅读 · 0 评论