Hi,
Exceptions inside Deferred handlers (like the one you're creating when
you call addCallback) often get vanished, and don't show up in the
javascript console or debuggers. I normally have to resort to
debugging by logging. Does log(
response.getElementsByTagName('id').length ) give you the expected
amount in the javascript console?
It's been a while since I was doing Safari compatibility stuff, but
here are some things I think of off the top of my head
- Make sure you're setting the Content-Type header to "text/xml".
- Probably don't need to use documentElement - try response =
res.responseXML.documentElement || res.responseXML ;
- The namespace declaration on the p element could be causing
problems. Does it work without it? What about var p =
response.getElementsByTagNameNS('*','p')[0]; ?
Hamish Friedlander
mindcontroldogs.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---