Here is a fake XML document:
<?xml version="1.0" encoding="utf-8"?>
<announcements delay="3000">
<announcement id="first_admin_announcement"
class="admin_announcement">
<title>First Announcement</title>
<link>Fake Link 1</link>
<message>This is a fake announcment. These will flash for a few
secondes then change to the next announcement.</message>
</announcement>
<announcement id="second_admin_announcement"
class="admin_announcement">
<title>Second Announcement</title>
<link>Fake Link 2</link>
<message>Just a stupid second announcement. Enjoy
life.</message>
</announcement>
</announcements>
/*****************************************/
I did not know that in order to get the title of the first announment
IE expects:
announcements_xml.getElementsByTagName('announcement')
[i].childNodes[0].childNodes[0].nodeValue; (ie will get 'link' with 1)
whereas FF and others expect:
announcements_xml.getElementsByTagName('announcement')
[i].childNodes[1].childNodes[0].nodeValue; (ff will get 'link' with 3)
So... My bad. My Fault. At the risk of sounding like an idiot, I am
posting this incase others run into this problem. Thanks for your
time. And thanks for supporting Mochikit!
On Oct 22, 12:01 pm, Exiquio <[EMAIL PROTECTED]> wrote:
> Yes. That does not help. I can get the text via response.responseText.
> But on IE, instead of getting object XMLDocument, I simply get an
> object.
>
> On Oct 22, 1:49 am, Morten Barklund <[EMAIL PROTECTED]> wrote:
>
> > Exiquio wrote:
> > > First, thanks for creating and supporting an excellent framework! It
> > > shows that this thing resulted from practical needs.
>
> > > Now my issue. I am making a generating a menu editor via doXHR. It is
> > > grabbing a XML file provided by my
> > > CodeIgnter backend. I then use MochiKi.DOM (thanks a million!) to
> > > create and append a 'editor' of sorts. This works perfectly on
> > > Firefox, and has a minor DOM issue on Opera, but for some reason the
> > > XMLHttpRequest is never made on IE6 and 7. I am using code downloaded
> > > via svn today. I have tried replacing my callback with a simple alert
> > > in the function, but still no request is made. What follows is most of
> > > the code I am referring to. Forgive that tabbing.
>
> > Have you tried removing the header and mime-type - just for debugging?
>
> > --
> > Morten Barklund
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---