Side navigation
#7169 closed feature (duplicate)
Opened October 13, 2010 02:44AM UTC
Closed November 23, 2010 09:10PM UTC
Last modified November 23, 2010 09:10PM UTC
Allowing $.fn.css to accept an object as a getter
Reported by: | OhaiBBQ | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | css | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hey everyone,
someone in the jQueyr chat was trying to get multiple values of some styles using $.fn.css. I figured if you can pass in an object as a setter why can't you pass in an object as a getter? Here's a link to a duck punch of $.fn.css that exemplifies this functionality
http://jsfiddle.net/OhaiBBQ/Fytr4/
The same could be added to $.fn.attr, $.fn.data etc