different loading messages in xajax framework
Using xajax 0.5 rc1, you can now use the following (callback objects) to accomplish this: loadingPage = xajax.callback.create(300, 10000); loadingSomeSelectOptions = xajax.callback.create(300, 10000); loadingOtherSelectOptions = xajax.callback.create(100, 10000); Then, provide the operations to perform: loadingPage.onResponseDelay = function() { ... show loading message ... } loadingPage.onComplete = function() { ... hide loading message ... } loadingSomeSelectOptions.onRequest = function() { ... show loading message over select box ... } loadingSomeSelectOptions.onComplete = function() { ... hide loading message ... } loadingOtherSelectOptions.onResponseDelay = function() { ... show loading msg over other select box ... } loadingOtherSelectOptions.onComplete = function() { ... hide loading message ... } Then: xajax.call('loadPage', { callback: loadingPage }); xajax.call('loadSomeSelectOptions', { callback: loadingSomeSelectOptions }); etc... As an alternative, you coul