Hello all,

An application I'm building has a form that can initiate several
different actions on the server side, which take varying amounts of
time to return (up to 30 seconds or so). I'm using the jQuery Form
plugin to AJAXify the form. I've set the dataType option to json and
I'm using a beforeSubmit and success callback.

The problem I'm having is that the form submissions seem to be queued
and submitted synchronously, so if a user submits a request that takes
say 30 seconds and then immediately submits another request that only
takes 2 seconds the latter results aren't displayed for 32 seconds. It
also seems to affect multiple tabs in the same browser (tested on
Safari and Firefox), so a 30 second process in one tab and a 2 second
process in another have the same 32 second wait for the second
process.

I've tried searching both this newsgroup and google for answers but
I'm having trouble finding the appropriate search terms. If anyone can
point me in the right direction I'd be incredibly grateful.

Thanks!

dann

Reply via email to