CodeIgniter Forums
Xajax loading message - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Xajax loading message (/thread-8120.html)



Xajax loading message - El Forum - 05-06-2008

[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.


Xajax loading message - El Forum - 04-10-2009

[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


Xajax loading message - El Forum - 09-21-2009

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

How did you do this? Thanks