今天下午用到的javascript代码,ajax返回值
function getxxx(){ var xx = new Array(); $.ajax({ type: "GET", async:false, url: "/test/t.php", data: xx, cache:false, //dataType:'json', success: function (data) { xx = data; } }); return xx; }
google学回来的.
您的邮箱地址不会被公开。 必填项已用 * 标注
评论 *
显示名称 *
邮箱 *
网站
Δ