When you aren't getting what you expect from an ajax call, inside the
complete callback I show the req.responseXML & req.responseText using
routines like the $.debug from jquery.com (somewhere) or my own
version:
jQuery.fn.debug = function(message) {
return this.log('debug:' + (message || '')
+"[").each(function(){$.log(this);}).log("]");
};
jQuery.fn.log = jQuery.log = function(message) {
if(window.console)
console.debug(message)
else if (window.opera && window.opera.postError)
window.opera.postError(s)
else if (not(message.match(/^[\[\]]$/)))
alert(message);
return this;
};
On 11/9/06, Richard Walker <[EMAIL PROTECTED]> wrote:
>
>
> setting the type to text/xml doesn't seem to help any.
> --
> View this message in context:
> http://www.nabble.com/%24.get---Retrieving-XML-Docs-tf2598993.html#a7260622
> Sent from the JQuery mailing list archive at Nabble.com.
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
--
Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/