I found the solution:
http://www.mochikit.com/doc/html/MochiKit/Async.html#fn-doxhr

Here's an example:
http://www.infoentropy.com/mochikit_ajax_doXHR?destination=mochikit_ajax_doXHR

This can be used to send data to server using POST and without a page
refresh.


On Jun 24, 5:46 pm, Max <[EMAIL PROTECTED]> wrote:
> Hello,
>    MochiKit uses loadJSONDoc to retrieve data from a web server in
> JSON format but is there any function that would sends data from
> client to the server? I am using MochiKit as a part of TurboGears and
> I would like to submit data asynchronously, instead of using a form
> submission.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to