jQuery times out waiting for server to respond back
<p>Background:</p>

<ul>
<li>I have two pages (index.php and script.php).</li>
<li>I have a jQuery function that calls script.php from index.php.</li>
<li>script.php will do a ton of data processing and then return that data back to index.php so that it can be displayed to the user.</li>
</ul>

<p>Problem:</p>

<ul>
<li>index.php appears to be timing out because script.php is taking to long to finish. script.php can sometimes take up to 4 hrs to finish processing before it can return the data to index.php.</li>
<li>the reason I say index.php is timing out is b/c it never updates and just sits there with an hour glass even after script.php stops processing.</li>
<li>i know for sure that script.php does finish processing successfully b/c i'm writing the output to a log file as well and see that everything is being processed.</li>
<li>if there is not much data to be processed by script.php then index.php will update as it is supposed to.</li>
<li>I'm not setting any timeout values within the function inside index.php when calling script.php.</li>
</ul>

<p>Is there a better to get index.php to update after waiting a very long time for script.php to finish? I'm using FireFox, so is it maybe a FireFox issue?</p>
