Hi Mochikit community, I am test driving the library. Pretty niffty stuff for sure.
Naturally one of the basic things I want to do is throw some stuff from a form at a server , stuff it in a db, and get some XML results back via an XMLHttpRequest. And when I get that XML back I want to parse it with some function, but which parser needs to be determined conditionally. Wondering what combination of Mochikit things I would use to do that? I've been looking at getXMLHttpRequest():, but that looks too barebones, no conditional options. I also see sendXMLHttpRequest(req[, sendContent]): and doSimpleXMLHttpRequest(url[, queryArguments...]): Again, no way to specify what function to call on succes.If I am not mistaken Deferred is the thing I am looking for, but I don't get how to wire it to which ever Request method I should be using. Also, its a little unclear in the documentation, I am curious, do the Request methods I mention above all automatically process forms, that is to say, I dont need to first process my form in queryString? Thanks in advance!
