<script type="text/javascript" language="javascript">
function BtnList_Click() {
$.ajax({
url: "aa.asmx/GetList",
data: {},251)">type: "post",251)">success: function(data,status) {
var str = "";
try {
var obj = $(data.xml);
var vals = obj.find("string");
$.each(vals,function(index,item) {
str += $(item).text() + "<br/>";
});
$("#dd").html(str);
}
catch (ex) {
alert(ex);
</script> 原文链接:https://www.f2er.com/ajax/166311.html