Modify ↓
Ticket #7169 (closed feature: duplicate)
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: | ||
| Blocking: | Blocked by: |
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
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
