Skip to main content

Bug Tracker

Side navigation

#1210 closed bug (fixed)

Opened May 19, 2007 04:05AM UTC

Closed August 19, 2007 11:38PM UTC

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.

Attachments (0)
Change History (4)

Changed May 20, 2007 02:30AM UTC by quocbao comment:1

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

Changed May 22, 2007 09:02AM UTC by quocbao comment:2

The same happen with LINK element

Changed August 19, 2007 09:50PM UTC by john comment:3

owner: → john

Changed August 19, 2007 11:38PM UTC by john comment:4

milestone: 1.1.31.1.4
resolution: → fixed
status: newclosed
version: 1.1.21.1.3

Fixed in SVN rev [2783].