Hi guys!
My problem is that I was including MochiKit with an absolute path, but
I need to use the URL of the module, I put MochiKit above the page and
now it is working, thanks!
2006/8/29, troels knak-nielsen <[EMAIL PROTECTED]>:
> > deferred = MochiKit.Async.doSimpleXMLHttpRequest('test.xml');
> > // deferred = doSimpleXMLHttpRequest('test.xml');
> > alert(deferred);
>
> That won't work. Try :
> deferred = MochiKit.Async.doSimpleXMLHttpRequest('test.xml');
> deferred.addCallback(function(transport) {
> alert(transport.responseText);
> });
>
> --
> troels
>
--
Michel Thadeu Sabchuk
Curitiba - Brasil
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---