Bug Tracker

Opened 13 years ago

Closed 13 years ago

#1210 closed bug (fixed)

Create "script" tag fails in IE

Reported by: quocbao Owned by: john
Priority: major Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:

Description

alert($("<script language=\"javascript\">alert(\"hello\");</script>")[0]);

In Firefox, i got a HTMLScriptElement, But in IE, i got undefined result.

Change History (4)

comment:1 Changed 13 years ago by quocbao

I think the fix for our bug here: http://www.htmlcodetutorial.com/help/sutra2801.html

In IE, not every types of node can have children

comment:2 Changed 13 years ago by quocbao

The same happen with LINK element

comment:3 Changed 13 years ago by john

Owner: set to john

comment:4 Changed 13 years ago by john

Milestone: 1.1.31.1.4
Resolution: fixed
Status: newclosed
Version: 1.1.21.1.3

Fixed in SVN rev [2783].

Note: See TracTickets for help on using tickets.