Side navigation
#5530 closed bug (invalid)
Opened November 18, 2009 11:45AM UTC
Closed November 18, 2009 10:54PM UTC
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: |
Description
1. Use the jQuery load(url) method and specify a jQuery selector in the url to filter the incoming document.
2. 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');
3. If the incoming and calling selectors are different then IE7/8 acts as expected.
$('#status').load('data.asp?random=' + (newDate()).getTime() + ' #statusEX');
4. 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
Attachments (0)
Change History (1)
Changed November 18, 2009 10:54PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
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.