loading image while fetching data - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: loading image while fetching data (/showthread.php?tid=52823) |
loading image while fetching data - El Forum - 06-28-2012 [eluser]CocoMansur[/eluser] Hi, I have this script code that i got from 1 of the tutorials regarding codeigniter with ajax, is it possible to have a loading image while it fetches data on the database? Code: [removed] loading image while fetching data - El Forum - 06-28-2012 [eluser]Otemu[/eluser] You could use beforeSend function to load the image Code: beforeSend: function() { loading image while fetching data - El Forum - 06-28-2012 [eluser]Sanjay Sarvaiya[/eluser] Yes it's possible to have a loading image while fetching data. Code: $(".testiNext").click(function(){ |