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

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

You can create one function in JS to make the loading.


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

in PHP

you can hide that div.

with this.

$objResponse = new xajaxResponse();
return $objResponse;

I hope this help you.


El Forum

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

How did you do this? Thanks