Bug Tracker

Opened 13 years ago

Closed 13 years ago

#5530 closed bug (invalid)

load method: In IE7/8 incoming and current document selectors must be different!

Reported by: pjstarifa Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:


  1. Use the jQuery load(url) method and specify a jQuery selector in the url to filter the incoming document.
  1. If the incoming selector is the same as the calling document selector then nothing will be injected into the calling document's DOM when using browser IE7/8.

$('#status').load('data.asp?random=' + (newDate()).getTime() + ' #status');

  1. If the incoming and calling selectors are different then IE7/8 acts as expected.

$('#status').load('data.asp?random=' + (newDate()).getTime() + ' #statusEX');

  1. In FireFox 3.08 and Chrome 3.0. both of the above calls act as expected and inject the filtered calling document into the calling documents DOM

Change History (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

That would create duplicate #status ids and create an invalid document, so it seems reasonable that it might break. If I haven't understood that code correctly, please reopen with a test case.

Note: See TracTickets for help on using tickets.