Side navigation
#6592 closed bug (invalid)
Opened May 21, 2010 09:23PM UTC
Closed May 25, 2010 01:46AM UTC
Last modified March 09, 2012 04:27AM UTC
jQuery(html, props) not works correctly in IE!
Reported by: | josotoru | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | unfiled | Version: | 1.4.2 |
Keywords: | jquery, props | Cc: | |
Blocked by: | Blocking: |
Description
The following example:
jQuery('<div />',{
class : "myclass",
css : {
"position":"absolute",
"left": "10px",
"top" : "10px",
"display" : "none",
"z-index" : "90000"
}
}).appendTo("body");
Not works correctly in any version of IE, instead I use the following code:
jQuery('<div />').
addClass('myclass')
.css({
"position":"absolute",
"left": "10px",
"top" : "10px",
"display" : "none",
"z-index" : "90000"
}).appendTo("body");
The first snipet works cool ;) in Firefox, Chrome, Opera and Safari.
Attachments (0)
Change History (1)
Changed May 25, 2010 01:46AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |