Solved

jQuery ajax long polling

Posted on 2014-02-19
1
832 Views
Last Modified: 2014-03-01
I have an ajax request that does multiple things and I want the browser to react to each stage of the ajax request e.g. the browser show Processing... and waits for the first part of the ajax response, when it receives it then I can add finished to the first processing stage, and then add to the browser window Stage 2 Processing... and the ajax waits for the next response and so on.
I'm not sure if there is an easy way to do this with jQuery or whether I should fire off separate requests for each processing routine.
It's kind of like long polling but not.
0
Comment
Question by:Gary
1 Comment
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 39873144
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now