[jQuery] Re: $(checkbox).css('background-color',value) does not work on FireFox?

2009-12-23 Thread Šime Vidas
I did some more testing and it is true that Firefox is the only mayor browser that returns the white color, instead of the actual background color... However, if you use the camelcase notation it will work even in Firefox. $("#mycheckbox").css("backgroundColor"); // works in all browsers $("#mych

Re: [jQuery] Re: $(checkbox).css('background-color',value) does not work on FireFox?

2009-12-23 Thread John Arrowwood
I mean that in Safari and Firefox, the code produces: Whether there is a visual modification or not, Safari at least tells me that the background-color is what I set it to be. Firefox tells me it is white. I was simply wondering whether or not I should waste time trying to figure out a work-ar

[jQuery] Re: $(checkbox).css('background-color',value) does not work on FireFox?

2009-12-23 Thread Šime Vidas
> So, on Safari, the code for the checkbox passes.  On Firefox, it does not. > Funny thing, the element has a style for the background color, but > .css('background-color') is not returning the color I set.  It is returning > rgb(255,255,255). What do you mean by "in Safari the code passes" ? >