[jQuery] Re: AJAX download progress

2007-07-19 Thread Gordon
It would seem that what I want to do is simply not possible in IE, because readyState 3 (interactive mode) is not fully interactive in Explorer's implementation of XHR. The other browsers will expose partial data but IE won't. In fact it throws an exception if you do attempt to access responseTe

[jQuery] Re: AJAX download progress

2007-07-18 Thread Gordon
Okay, your reply finally showed up a day after the group said you made it. :) I'm glad you like it, I just wish I knew how to make it work in IE On Jul 18, 5:17 pm, "Jonathan Sharp" <[EMAIL PROTECTED]> wrote: > Gordon, > > That's really slick! > > -js > > On 7/18/07, Gordon <[EMAIL PROTECTED]>

[jQuery] Re: AJAX download progress

2007-07-18 Thread Gordon
To whoever replied, thanks, but the actual reply isn't showing up in here. I don't know why! I think google groups has been a bit wonky today. On Jul 18, 10:32 am, Gordon <[EMAIL PROTECTED]> wrote: > I am trying to figure out a way of displaying how far along an AJAX > download is. Assuming I

[jQuery] Re: AJAX download progress

2007-07-18 Thread Jonathan Sharp
Gordon, That's really slick! -js On 7/18/07, Gordon <[EMAIL PROTECTED]> wrote: Finally got my net access on my dev machine back. :) Here's my code. var myTrigger; var progressElem = $('#progressCounter'); $.ajax ({ type: 'GET', dataType: 'xml', ur

[jQuery] Re: AJAX download progress

2007-07-18 Thread Gordon
Finally got my net access on my dev machine back. :) Here's my code. var myTrigger; var progressElem = $('#progressCounter'); $.ajax ({ type: 'GET', dataType: 'xml', url : 'somexmlscript.php' , beforeSend : function (t

[jQuery] Re: AJAX download progress

2007-07-18 Thread Gordon
Okay, I've got some code now that works well in all the major browsers except for IE. I can't post the code just now but I'll put it up as soon as I get proper net access back on the other computer. Oddly it doesn't throw any errors in IE, it simply doesn't produce any results. Gordon wrote: >

[jQuery] Re: AJAX download progress

2007-07-18 Thread Gordon
I have been thinking about how to do this all morning. At first I thought it wouldn't be possible because the XHR object doesn't seem to have a property for the amount of data downloaded. But I have come up with a possible work around. I have jotted some pseudocode down and am researching how w