Test case for jQuery Ticket 7707

$.ajax + xml

by jitter

HTML

<script src="https://getfirebug.com/firebug-lite-debug.js"></script>

JavaScript

$.ajax({
    url: "/echo/xml/",
    type: "POST",
    dataType: "xml",
    data: {
        xml: "<root><KUNNR>123456</KUNNR></root>"
    },
    success: function( data ) {
        console.log( "success", $( "KUNNR", data ).text() );
    },
    error: function( xhr, status, err ) {
        console.log( "ERROR", status, err );
    },
    complete: function( xhr ) {
        console.log( "complete", $( "KUNNR", xhr.responseXML ).text() );
    }
});