日期:2014-05-16 浏览次数:20455 次
$(document).ready(Test()); function Test() { //var linexml = 'lineinfo/line' + '@(ViewBag.lineid)' + '.xml'; alert("TesT执行了!") $.ajax({ url:"lineinfo/line20000301.xml", dataType:"xml", type: "get", success:function(xmldoc){ alert($(xmldoc).find("name").text()); } }); }