javascript-waiting

Is it possible to gracefully handle a Google Maps AJAX request timeout?

My site uses the Google Maps API. In situations where the connection to Google is slow and the map can't be rendered in a reasonable time, I'd like a Javascript callback method to be called such that I can display a useful message to the user rather than have a 'loading...' message constantly displayed. Is this achievable? ...

FileUpload show waiting message while PostBack is excecuting

For the following scenario: I have an ASP.NET FileUpload control and a Button that postbacks for uploading the selected file. I would like to know if with javascript I can: Start showing an image (loading image) when someone clicks on the button that excecutes the upload Stop showing the image when the upload of the file is complete ...