Skip to main content

Bug Tracker

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

Attachments (0)
Change History (3)

Changed October 14, 2010 04:49AM UTC by snover comment:1

component: unfiledcss
milestone: 1.4.3
priority: undecidedlow
status: newopen

Changed November 23, 2010 09:10PM UTC by snover comment:2

resolution: → duplicate
status: openclosed

Changed November 23, 2010 09:10PM UTC by snover comment:3

Duplicate of #4461.