On 6/4/06, Scott Anderson <[EMAIL PROTECTED]> wrote: > You have to make sure to trap both successes and failures in the > Javascript code -- I don't know how mochikit does that, but with > prototype you need to specify an onFailure hook to get errors.
And with Dojo the 'error' parameter you pass to dojo.io.bind() should be a callback for error handling. Or if you just want one callback for all responses, you can have your 'load' callback look at the parameters passed to it to determine whether there was an error. -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---