Skip to main content

Bug Tracker

Side navigation

#9539 closed bug (invalid)

Opened June 07, 2011 12:30PM UTC

Closed June 13, 2011 03:10PM UTC

$(element).remove() with iframe included make a request to the iframe-src

Reported by: dimitri.bountsman@dat.de Owned by: dimitri.bountsman@dat.de
Priority: low Milestone: 1.next
Component: manipulation Version: git
Keywords: Cc:
Blocked by: Blocking:
Description

var aHtml='<div id="x"><iframe src="http://localhost..../"/></div>'

var dlg = $(aHtml).dialog(...close:function(){dlg.remove()})

the invocation of:

dlg.remove()

causes jquery to make a request to the iframe-src.

dlg.empty().remove() helped us out.

Attachments (0)
Change History (3)

Changed June 07, 2011 02:06PM UTC by rwaldron comment:1

component: unfiledmanipulation
owner: → dimitri.bountsman@dat.de
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket!

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, I've created this boilerplate: http://jsfiddle.net/rwaldron/da3nM/ Open the link and click to "Fork" in the top menu.

Changed June 09, 2011 11:22AM UTC by dimitri.bountsman@dat.de comment:2

status: pendingnew

http://jsfiddle.net/TaypA/1/

any time the dialog is closed, the request to the url (from iframe src) is executed. This can be seen e.g in the NET-tab of Firebug.

Changed June 13, 2011 03:10PM UTC by timmywil comment:3

priority: undecidedlow
resolution: → invalid
status: newclosed

I don't see a problem in jQuery core. http://jsfiddle.net/timmywil/TaypA/5/

If this is an issue with jQuery UI, I recommend submitting an issue on the jQuery UI Bug Tracker