On 11/2/06, hotani <[EMAIL PROTECTED]> wrote:
>
> Up until this morning, I thought I knew my way around JavaScript.
> Looking at the docs for MochiKit has proven otherwise.
>
> All I want is a basic example of a call to a json file, and output. The
> docs are shooting right over my head and I still don't get what
> "deferred" really means. There is a 450 line beast I've been digging
> through that is the 'sortable tables' example, but I was hoping for a 5
> liner. You know, like "get data".... "show data". Anyone?
>
> Maybe there is some documentation somewhere that I'm missing? Just
> don't know how to start here...
>
> So far, I have this:
> var d = loadJSONDoc("/myapp/ajax_test/");
> (Django is spitting out the JSON btw)
>

d.addCallback(function (result) {
    // do something here
});

-bob

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

Reply via email to