Bug Tracker

Modify

Ticket #3911 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.