Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

jQuery ajax long polling

Posted on 2014-02-19
1
849 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jQuery Scroll To Top 5 38
how can i turn the array into an object 4 43
Ahax pagination 9 32
Using toggleClass to resize Bootstrap columns 7 18
Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

856 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