CodeIgniter Forums

Full Version: Xajax loading message
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
Ok i have found a few guide and many post but i must be missing something big cuase i cant get any loading message working.
Does any one know a good link to a guide to get this working?
Thank you

Forget this, found it.

El Forum

[eluser]!Z[/eluser]
You can create one function in JS to make the loading.

Ej.

Code:
function Loading(){
   $('#div_loading').html("<img src='loading.gif' />Loading...");
}

in PHP

you can hide that div.

with this.

Code:
$objResponse = new xajaxResponse();
$objResponse->assign("div_loading","style.display","none");
return $objResponse;

I hope this help you.

Bye

El Forum

[eluser]LifeSteala[/eluser]
[quote author="Codo" date="1210103681"]
Forget this, found it.[/quote]

How did you do this? Thanks