There is currently no way to deal with an ajax response while it's loading (readyState == 3). For atom-like data fetching.
Therefore I added some simple code to handle my need, however I can't get it to work in IE7/8 or Safari 3.2.3 but it does work in FF 3.0.10 ,Opera 9.64 and Chrome 2.0.172.28 (with a slight delay). code: <code> // Trigger the receiving callback while receiving data } else if (xhr.readyState == 3) { try { // process the data (runs the xml through httpData regardless of callback) data = jQuery.httpData( xhr, s.dataType, s ); } catch(e) { status = "parsererror"; } receiving(); </code> inserted at line 3442 in jquery.1.3.1.js AND <code> function receiving(){ // If a local callback was specified, fire it and pass it the data if ( s.receiving ) s.receiving( data, status ); // Fire the global callback if ( s.global ) jQuery.event.trigger( "ajaxReceiving", [xhr, s] ); } </code> inserted at line 3530 in jquery.1.3.1.js any ideas on how to make it work in IE/Safari? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---