Bug Tracker

Modify

Ticket #2253 (closed bug: duplicate)

Opened 5 years ago

Last modified 2 years ago

iframe bug?

Reported by: suning Owned by:
Priority: low Milestone: 1.next
Component: manipulation Version: 1.4.4
Keywords: iframe clonenode adoptnode Cc:
Blocking: Blocked by:

Description

if in a page Have two "iframe" ,

use it in IE(6/7):

$("iframe").contents().find("body").append("<div>test</div>");

then, A error occur.

Attachments

iframe.zip Download (29.8 KB) - added by suning 5 years ago.
iframe-test

Change History

Changed 5 years ago by suning

iframe-test

comment:1 Changed 3 years ago by dmethvin

In IE8, I get an error of "Permission Denied" in jQuery.contents() when I click either button. I also get an "Invalid character" message on line 1 of jquery.js. Notice that the test case is in charset=gb2312.

comment:2 Changed 3 years ago by snover

  • Keywords clonenode added
  • Priority changed from major to low
  • Milestone 1.2.3 deleted

comment:3 Changed 3 years ago by snover

  • Keywords adoptnode added

comment:4 Changed 3 years ago by jitter

  • Status changed from new to closed
  • Resolution set to wontfix

This is an IE issue. But you can use this  workaround

comment:5 Changed 2 years ago by jitter

  • Status changed from closed to reopened
  • Resolution wontfix deleted
  • Version changed from 1.2.2 to 1.4.4
  • Component changed from core to manipulation
  • Milestone set to 1.next

comment:6 Changed 2 years ago by jitter

  • Status changed from reopened to closed
  • Resolution set to duplicate

comment:7 Changed 2 years ago by jitter

Duplicate of #4059.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.