On Fri, 2006-04-21 at 20:21 +0000, Sam Sutch wrote:
> MochiKit does have an implementation of XMLHttpRequest that is
> cross-[modern]-browser compatible.
[snip]
> I highly recommend checking out/learning the MochiKit one, though,
> since all that crap is already taken care of for you.
That is *exactly* what I am doing! (I think)
I posted a complete set of code that illustrated my code. I use the
Mochikit API through out.
Here is the pertinent parts:
var req = getXMLHttpRequest();
if (req.overrideMimeType) {
req.overrideMimeType("text/xml");
}
req.open("GET", url_get_data, true);
var d = sendXMLHttpRequest(req).addCallback(succf);
Is this not pure Mochikit? Avoiding all the "crap"?
I hope I am being an idiot and have missed something simple, but I
cannot see it my self. And it works differently in IE and firefox.
Worik
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---