Hello,

I've just started using Mochikit, and not having used a JavaScript
framework before, I am a bit lost about how I should proceed with 
a little AJAX trick I want to use - sorry to bother you before reading
all of the docs (a quick search of the mailing list didn't help much),
but this is urgency of a kind: after I've done this, I guess I'll be 
able to relax, read the docs, play and experiment.

Here's the "problem": I need to perform a short asynchronous check for 
a condition in a database before accepting user input from a form, and
succeed/fail the form depending on the result of the check. It would be
best to present a "please wait" div with a nice animated gif, then
either proceed to the next screen, or fail the form, display a div with
an error message, and let the user edit the entered values. What is the
best way to do this? I found the AJAX demo in the wiki - assuming that
an URL on the server is able to send jsonified objects, would it be
enough to call loadJSONdoc on it? What best practice or easiest way to
do the above would you suggest?

Sorry if I'm asking a FAQ, and thanks for your time, 

-- 
Grzegorz Staniak <gstaniak _at_ gmail [dot] com>

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