It sounds like you need a synchronous request e.g.: http://stackoverflow.com/questions/133310/how-can-i-get-jquery-to-perform-a-synchronous-rather-than-asynchronous-ajax-req
Of course, if you have to wait for a response, it may be worth simply doing a normal post rather than using ajax. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/9/23 Rick Faircloth <[email protected]>: > > Got a combination CF & jQuery question for those of you who use > both.usually, I can get > > a better response from folks who use CF & jQuery than I can from those who > use only jQuery. > > > > I've got an ajax call (not AJAX call.) that inserts property data into a > database then processes from 1 to usually > > no more than around 10 images, creating multiple sizes, etc. > > > > The problem I'm having is that the ajax call, being asynchronous, returns > back to the calling > > page and continues executing instructions before the images are all > processed. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326523 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

