我发出 jQueryAjax请求,它以XML格式返回输出。我想访问它XML以PHP处理数据。以下是我的代码示例...
getTime.php 文件
<?php
    header("Content-type: text/xml");
    echo '<Dates>';
    echo '<Now ';
    echo 'val="' . date("h:m:s") . '" ';
    echo '/>';
    echo '</Dates>';
    //echo date("h:m:s");
?>
index.php 文件
jQuery(document).ready(function(e) {
    $('#btnTime').click(function(){
        getData("GetTime.php");
    });
});
function getData(strUrl)
{
    $.ajax({
        type: "POST",
        url: strUrl,
        dataType: "xml",
        success: function(output){
                    // I want to Retrieve this XML Object (output) to PHP
        }
    });
}
如何访问 jQuery 中输出的 XML PHP?请帮我..