Bug Tracker

Modify

Ticket #5530 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

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:
Blocking: Blocked by:

Description

  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

comment:1 Changed 4 years ago by dmethvin

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

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.

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.