日期:2014-05-17 浏览次数:20472 次
function strings() {
alert(6666);
try {
$.ajax({
type: "GET",
url: "Json.aspx",
dataType: "xml",
contentType: "application/xml;charset=utf-8",
success: function (xml) {
$("TextBox2").value = $(xml).find("resultString").children("text1").text();
var id = $(xml).find("resultString").children("text1").text();
alert(id);
},
error: function () { alert("出错了") }
});
}
catch (e) {
throw e;
}
alert(44444);
}