Bug Tracker

Ticket #1210 (closed bug: fixed)

Opened 2 years ago

Last modified 1 year ago

Create "script" tag fails in IE

Reported by: quocbao Assigned to: john
Type: bug Priority: major
Milestone: 1.1.4 Component: core
Version: 1.1.3 Keywords:
Cc: Needs: Review

Description

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

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

Attachments

Change History

Changed 2 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

Changed 2 years ago by quocbao

The same happen with LINK element

Changed 1 year ago by john

  • owner set to john

Changed 1 year ago by john

  • status changed from new to closed
  • version changed from 1.1.2 to 1.1.3
  • resolution set to fixed
  • milestone changed from 1.1.3 to 1.1.4

Fixed in SVN rev [2783].

Note: See TracTickets for help on using tickets.