Bug Tracker

Modify

Ticket #3595 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

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

Description (last modified by davidserduke) (diff)

$(xml).find('test').each( function(i){
//[]
});

Works in Firefox and Opera but not in Internet Explorer

Attachments

test.html Download (676 bytes) - added by Nightflyer 5 years ago.
routen.xml Download (264 bytes) - added by Nightflyer 5 years ago.
ie7bodyinnerHTML.jpg Download (9.4 KB) - added by davidserduke 5 years ago.

Change History

Changed 5 years ago by Nightflyer

Changed 5 years ago by Nightflyer

comment:1 Changed 5 years ago by davidserduke

  • Description modified (diff)

Changed 5 years ago by davidserduke

comment:2 Changed 5 years ago by davidserduke

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?

comment:3 Changed 5 years ago by Nightflyer

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 5 years ago by davidserduke

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

Closed at request of author.

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.