Modify ↓
Ticket #7376 (closed bug: worksforme)
Setting backgroundColor with .css in 1.4.3
| Reported by: | michael@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.5 |
| Component: | unfiled | Version: | 1.4.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Noticed a Div stopped changing colors when I upgraded jQuery today. This did work prior (with 1.4.2)
Setting $("div").css("backgroundColor", "red") doesn't work if the css for the same element has
div {
background:white;
}
By changing the css manipulator from backgroundColor to background, div background was successfully manipulated.
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.

I can't reproduce this. test case.
Please provide a minimal test case on http://www.jsfiddle.net which shows your problem