How to define a success-event for http-requests with JavaScript/jQuery?
-
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?
-
Answer:
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.
Clemens at Stack Overflow Visit the source
Related Q & A:
- How to return a value from .ashx file to javascript in a variable?Best solution by forums.asp.net
- How to fake a touch event in the system?Best solution by stackoverflow.com
- How to pass javascript jQuery variable value in php array?Best solution by Stack Overflow
- How to have a mouseover event fire only if the mouse is hovered over an element for some time?Best solution by Stack Overflow
- How to pass a parameter to a function that is called on an event?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.