Side navigation
#3280 closed bug (invalid)
Opened August 22, 2008 02:46PM UTC
Closed January 20, 2009 03:53AM UTC
Last modified March 15, 2012 05:41PM UTC
.css('background-color', '#') Throws JS Error in IE
Reported by: | jdsharp | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.3 |
Component: | core | Version: | 1.2.6 |
Keywords: | Cc: | jdsharp, flesler | |
Blocked by: | Blocking: |
Description
The following throws a JS error in IE saying "invalid property value"
$(function() {
$('body').css('background-color', '#');
});
Attached is an example file
Why would you set # to the background-color ?
IE's reaction seems "logical" to me.
Can you provide a test case ?