Reload the page, when AJAX engine processes the server response late?
I have a page like this,
Design New Cable
In this page, i have displayed a select box at the time of loading the page..
When a user selects any item from this select box, the AJAX engine calls on the select box, the second select box will be displaying based on the selection.
Now, if the time to load the new select box after selecting the previous select box is more (means when AJAX engine processes the server is taking more time to display the response), i want to display a message or reload the entire page (if network is properly connected) otherwise (if network connection fails, at that time) it will simply display the network connection failed message....
How to do this..
Give me some example to do this..