There's an interesting feature I want to implent in an application I'm developping for my company. Using AJAX to get data from database with PHP, data retrieval can take a bit long. So I would like to put on the page something like Loading ... when data is not ready for presentation to the user and replace that animated feature with the real content retrieved from database when that data is ready. Does someone know how it is done or even if this is done with jQuery or another language?
What I'm looking for is for instance what you get when you visit soccer24.com. Before the match events get presented to the user, there's a loading feature on the page while data is being retrieved from database.
Thanks for your kind help