Skip to main content

Bug Tracker

Side navigation

#3911 closed bug (invalid)

Opened January 19, 2009 10:38AM UTC

Closed January 20, 2009 12:31AM UTC

Css method cannot set style property for element in memory in IE 6 & 7

Reported by: nstjelja Owned by:
Priority: major Milestone: 1.3.1
Component: core Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:

When an element is created in memory, and before it is drawn on the screen, IE 6 and 7 raise an error on the line 1121 of jquery.js when executing the .css("display","hidden") property.


var element=$(document.createElement("div"));

element.css("display","hidden"); //Error raised


Attachments (0)
Change History (1)

Changed January 20, 2009 12:31AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

There is no display : hidden, I think you meant display : none. Your example generates an IE error for me on an element attached to a document as well.