views:

34

answers:

1

Considering a http-request and the server will answer with a pdf. I like to show a spinner, while the request is processing. How to do that?

A: 

This has been addressed already on SO.

Take a look at http://stackoverflow.com/questions/3011971/showing-a-progress-bar-when-downloading-a-file-from-the-server

http://stackoverflow.com/questions/1398138/how-to-show-progress-bar-with-jquery

Other resources: http://www.codeproject.com/KB/progress/JQueryProgressBar.aspx

Doing a google search for "jquery show progress file download" will give you many more useful links.

Suresh Kumar
Thanks for sharing. But it only suits for ajax-requests?
Clemens