Side navigation
#6866 closed feature (wontfix)
Opened August 03, 2010 07:43PM UTC
Closed October 27, 2010 12:29AM UTC
Last modified March 13, 2012 10:10PM UTC
Feature request for removeCSS
Reported by: | lathan | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.3 |
Component: | css | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
function to remove Css instead of having to do .css({'background': ''});
This function was written by user147767 (http://stackoverflow.com/users/147767/user147767) on StackOverFlow
jQuery.fn.extend ({ removeCss: function(cssName) { return this.each(function() { var curDom = $(this); jQuery.grep(cssName.split(","), function(cssToBeRemoved) { curDom.css(cssToBeRemoved, ''); }); return curDom; }); } });
Attachments (0)
Change History (1)
Changed October 27, 2010 12:29AM UTC by comment:1
priority: | → undecided |
---|---|
resolution: | → wontfix |
status: | new → closed |
I don’t see any use case for this that is not already addressed in jQuery.