Skip to main content

Bug Tracker

Side navigation

#9345 closed bug (cantfix)

Opened May 19, 2011 12:54PM UTC

Closed May 19, 2011 10:23PM UTC

append image, repeat request

Reported by: edgarhoo@gmail.com Owned by: edgarhoo@gmail.com
Priority: undecided Milestone: 1.next
Component: manipulation Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:
Description

when add images with append, IE6 will repeat request the image.

this is demo: http://lab.edgarhoo.net/javascript/jQuery-bug-append-image-repeat-request.html

中文版:当使用append方式将img标签添加到页面时,IE6会请求该图片数次

Attachments (0)
Change History (2)

Changed May 19, 2011 06:03PM UTC by rwaldron comment:1

component: unfiledmanipulation
owner: → edgarhoo@gmail.com
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 May 19, 2011 10:23PM UTC by dmethvin comment:2

resolution: → cantfix
status: pendingclosed

Hi, this is a well-known bug in IE6 that we cannot work around. The image is requested when the href property of the image is set, and then when the image is appended to the document. To avoid this problem, do not set the href until the image is appended to the document.