var source=[];
$.ajax({
type: "post",
url: "connectdb/select.jsp",
data: {database: "scmdb", selectsql: sql},
async: false, method: 'post',
dataType: "text",
success: function(data) {
eval("source="+data+";");
//source=eval(data);
alert("正确");
},
error: function(err) {
alert("错误");
}
});
return source;
jq post
最新推荐文章于 2024-09-05 15:29:51 发布