Hmm....

If I change the fuction call to:

   $.ajax({type:"GET", url:"xml/testTemplate.xml", dataType:"xml",
        success: function(xml) {
        $.each(data_item, function(i) {
                 $(i,xml).append(data_item[i]);
        });
              alert("Request: "+ $(xml).toXML());
        },
        error: function(xml) {
                alert("Something went wrong");
        }
   });

It still works in Firefox/ Mozilla but not in IE in the same way as before.

Curiously though, if I change the GET to a POST in this function IE won't
report any errors on the page but will give me the 'Something went wrong'
alert.

Haven't a clue what's wrong though. :-( Are there any useful error objects I
can tap into with $.ajax?

Richard

Klaus Hartl-3 wrote:
> 
> 
> Are you sure you have set the proper mime type?
> 
> 
> -- Klaus
> 
> 
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/%24.get---Retrieving-XML-Docs-tf2598993.html#a7258588
Sent from the JQuery mailing list archive at Nabble.com.


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

Reply via email to