Ticket #1388 (closed bug: worksforme)
.css('background-color',null) returns a String object
|Reported by:||sgbeal||Owned by:|
The subject line says it all:
var v = $(foo).css('background-color',null); alert(v.toSource()); == (new String("transparent"))
i'm assuming that this is specific to background-color, and maybe other color-related CSS fields, but have not verified that.
The bug here is that the API docs say that the function returns a jQuery object, and here it returns a String object.
Using 184.108.40.206 packed.