File Uploading Problems
I am trying to clean up my AJAX file uploading code and am having the following problem...
In the code that is waiting for the upload to finish, the http.open call is made with a onreadystatechange = GetStatus. The first upload I do, http.readyState goes from 1 to 4 as expected. When it hits 4, I do my IMG refresh and all is fine. The problem is any subsequent calls don't seem to work. The onreadystatechange seems to continually get called (though the readyState says 4, the clearInterval doesn't seem to work, and the code to refresh never gets updated.
Last edited by snoodle; 07-12-2007 at 05:16 AM..