[jQuery] Re: AJAX: Display raw XML Document

2009-09-17 Thread Jonathan
The REST service requires custom authorization headers, parameters and various methods (GET, PUT, POST, and DELETE) which is why I can't just pass a URL. The earlier solution was better for this. On Sep 17, 5:33 am, DBJDBJ wrote: > var myRESTurl = "..." ; > > $.ajax({ >     ... >     complete:

[jQuery] Re: AJAX: Display raw XML Document

2009-09-17 Thread DBJDBJ
var myRESTurl = "..." ; $.ajax({ ... complete: function(xhr, status) { alert("OK!"); $( document.body ).append("") ; } ... }) ; Since you are testing REST end point reply, which returns "text/xml" mime type, you can assign it to IFRAME src. In all browsers

[jQuery] Re: AJAX: Display raw XML Document

2009-09-17 Thread Mike Alsup
Yes. On Sep 17, 5:59 am, jeanluca wrote: > does that also work in IE(6) ? > > > That did it. I was using success which did not provide access to the > > xml as a string I could output, but complete works great. Thanks! Now > > I cane easily get the text, the HTTP Response code. > > > > Try hooki

[jQuery] Re: AJAX: Display raw XML Document

2009-09-17 Thread jeanluca
does that also work in IE(6) ? On Sep 17, 12:43 am, Jonathan wrote: > That did it. I was using success which did not provide access to the > xml as a string I could output, but complete works great. Thanks! Now > I cane easily get the text, the HTTP Response code. > > On Sep 16, 1:32 pm, Mike Al

[jQuery] Re: AJAX: Display raw XML Document

2009-09-16 Thread Jonathan
That did it. I was using success which did not provide access to the xml as a string I could output, but complete works great. Thanks! Now I cane easily get the text, the HTTP Response code. On Sep 16, 1:32 pm, Mike Alsup wrote: > > I still can't find a solution to simply print out the XML respo

[jQuery] Re: AJAX: Display raw XML Document

2009-09-16 Thread Mike Alsup
> I still can't find a solution to simply print out the XML response > from an AJAX call. I'm surprised jQuery can't handle something that > simple, as it can otherwise do so much. > > The other js libraries don't seem to have a problem with it, it looks > like jQuery just isn't up to the task, an

[jQuery] Re: AJAX: Display raw XML Document

2009-09-16 Thread Knight, Doug
(English) Subject: [jQuery] Re: AJAX: Display raw XML Document I still can't find a solution to simply print out the XML response from an AJAX call. I'm surprised jQuery can't handle something that simple, as it can otherwise do so much. The other js libraries don't seem to ha

[jQuery] Re: AJAX: Display raw XML Document

2009-09-16 Thread Jonathan
I still can't find a solution to simply print out the XML response from an AJAX call. I'm surprised jQuery can't handle something that simple, as it can otherwise do so much. The other js libraries don't seem to have a problem with it, it looks like jQuery just isn't up to the task, and I can't u