参考自:
http://blog.csdn.net/crx05/article/details/7362252
function test() { var myText = ""; myText = $.ajax({ type: "POST", url: "/dragable/demo/test", async:false, data: {}, // dataType: "json", dataType: "text", success: function(data){ }}).responseText; alert(myText); }
时间: 2024-10-16 13:22:18