$.ajax({
        contentType: 'text/xml',
        dataType: 'html',
        data:'<project id="16"><title>asdf</title><client>asdf</
client><year>2007</year><description>asdf</description></project>',
        processData: false,
        timeout: 5000,
        type: 'POST',
        url: 'saveXML.php',
        error: function(){
                alert('Error loading result from saveXML.php');
        },
        success: function(html){
                alert(html);
        }
});

my php file is simply echoing $_POST. each time an array is printed in
the alert box. how do i view what parameters are being sent.

Reply via email to