Bug Tracker

Opened 16 years ago

Closed 16 years ago

#1528 closed bug (fixed)

purple-include style injection doesn't work in IE

Reported by: arrix Owned by: john
Priority: major Milestone: 1.2
Component: ajax Version: 1.1.4
Keywords: Cc:
Blocked by: Blocking:

Description

the example http://dev.jquery.com/~john/ticket/load-hash/

works fine in ff 2.0, opera and safari 3 but not ie6/7

In IE, the red square flashes and disappears.

Will look into it in greater detail later.

Change History (5)

comment:1 Changed 16 years ago by arrix

Sorry, I didn't notice this isn't in trunk.

However, the problems in IE are

  1. <script> element in test.html is causing a Permission Denied error while executing globalEval()
  1. jQuery('<wrap/>').apend(...)
    $('<wrap/>')[0].appendChild(document.createElement('div'))
    

will cause a "Unexpected call to method or property access." error while

$('<div/>')[0].appendChild(document.createElement('div'))

is ok. Maybe IE isn't happy with undefined tag names?

comment:2 Changed 16 years ago by john

Maybe this goes back to the issue that you mentioned of $("<span/>") not working in IE? By the way - is there a bug filed on that?

comment:3 Changed 16 years ago by john

Milestone: 1.1.41.2
Owner: set to john

comment:4 Changed 16 years ago by arrix

$('<wrap/>') actually creates an element in IE, however, this element doesn't support all methods(appendChild in this case), probably because <wrap> is not a standard html element.

I haven't filed a bug on the $('<span/>') issue yet because I think <tagName/> syntax for elements that require a closing tag is inappropriate.

comment:5 Changed 16 years ago by john

Resolution: fixed
Status: newclosed
Version: 1.1.31.1.4

Fixed in SVN.

Note: See TracTickets for help on using tickets.