Bug Tracker

Opened 11 years ago

Closed 11 years ago

#3911 closed bug (invalid)

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:

Description

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.

Example:

var element=$(document.createElement("div")); element.css("display","hidden"); Error raised parent.append(element);

Change History (1)

comment:1 Changed 11 years ago by dmethvin

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.

Note: See TracTickets for help on using tickets.