Mike Alsup schrieb:
> Klaus,
> 
> Both success and complete are passed a 2nd arg which indicates the
> status of the request: 'success', 'error', or 'notmodified'.

Wouldn't it be better if the response text is passed to these functions, 
similiar to $.get and $.post?

Like:

if ( success ) success( jQuery.httpData(xml,type), status );

instead of

if ( success ) success( xml, status );

I cannot see the use for the XHR object itself in the callback...


-- Klaus

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to