Topic: Several loaders images as callbacks
Hi,
Can you tell me how to make different callbacks from several HTML's divs?
A.E. : I've got two different xajax functions and I want do display different divs when they're processed.
PHP/XAJAX
Code: PHP
function cat () {
$objResponse = new xajaxResponse();
...
return $objResponse;
}
function dog () {
$objResponse = new xajaxResponse();
...
return $objResponse;
}
HTML
Code: PHP
<div id='loader_cat' />
<div id='loader_dog' />
Basically for one div I'm using xajax.callback.global.onRequest and xajax.callback.global.beforeResponseProcessing, but I don't have an idea how to use it for diffrent divs and functions.
Please help ![]()