On 27 Sep 2014 19:44:22 -0000 sharda <sharda.g2...@gmail.com> wrote: > retrieving the information from the DB in this time delay i.e the > time it takes to fetch the data from the server i have to show an > ajax activity indicator how can i do this.
First off, if your DB query is taking long enough to require a progress indicator, you're probably writing horribly inefficient queries, and could just make them run much quicker by proper use of indexes etc. However, if you do need an indicator but don't need it to be an actual progress bar as such (just showing that something's going on, as opposed to how far through it is), then if you're using Javascript and AJAXy stuff, just fire off the request to the server to fetch data via AJAX, display a spinner, and when the response arrives, hide the spinner and process the response data. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/