Opened 14 years ago
Closed 14 years ago
#3595 closed bug (invalid)
each() doesn't work properly in IE
Reported by: | Nightflyer | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | effects | Version: | 1.2.6 |
Keywords: | each explorer | Cc: | |
Blocked by: | Blocking: |
Description (last modified by )
$(xml).find('test').each( function(i){ //[] });
Works in Firefox and Opera but not in Internet Explorer
Attachments (3)
Change History (7)
Changed 14 years ago by
Changed 14 years ago by
Attachment: | routen.xml added |
---|
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|
Changed 14 years ago by
Attachment: | ie7bodyinnerHTML.jpg added |
---|
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
Well, I solved the problem. It's all about the header of the XML-file. If a script creates the XML it's important to set the correct header to it:
header('Content-Type: text/xml');
FF and Opera hasn't problems without, but the IE(6-8) goes on strike - even when XML is correctly declared as the format witch would be sent with the $.get()-action. Bug issue might be closed.
comment:4 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closed at request of author.
Note: See
TracTickets for help on using
tickets.
I tried it in IE7 and it seemed to work. I attached a screen shot of:
javascript:alert(document.body.innerHTML)
Can you try that?