ajax返回值

今天下午用到的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学回来的.

关于无聊人

一个无聊人而已
此条目发表在java分类目录。将固定链接加入收藏夹。

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注