Looking at implementing a progressbar for a process but code needs to find the line count of a file over the web (no problem) to set the bars max property but need update polling for the value all while processing the main request.

Question: can I have the main ajax process and two parallel ajax processes at the same time?