On Thu, Sep 10, 2009 at 8:21 AM, Knight, Doug <dkni...@mitre.org> wrote:
> Sure could use some help on this one. Does anyone on the list have any clue
> why the .text() function works differently between FF and IE7? I’ve

Okay, so here's the basics:

It isn't .text(), that's just showing the problem.

The problem is your $(xml) call.

As I understand it, Jquery relies on the underlying DOM parser of the
browser.  Non-IE browsers handle XML casually, IE browsers are more
specific. (as easy as it is to rip on MS/IE, I'm not convinced the IE
behavior is wrong, per se, but it's clear that being right doesn't
make things easier).

Google for "JQuery IE XML Parsing" returns a fair number of hits on
this if you want to delve in deeper.  Sadly it looks like the answer
is a little complicated.

http://docs.jquery.com/Specifying_the_Data_Type_for_AJAX_Requests

The above link covers your exact case and shows a work around for
loading local files - it may behave differently on a server.  I've not
played with it myself as of yet.

Sorry you didn't get a faster response.
-- 
Brett Ritter / SwiftOne
swift...@swiftone.org

Reply via email to