62,073
社区成员
发帖
与我相关
我的任务
分享
if (obj1) {
var data = { 参数名: '参数值obj1' };
if (obj1.length > 0) {
$.ajax({ type: "POST", dataType: "json",
url: "后台页面.aspx",
data: data,
success: function(msg) {
if (msg[0].success == "true") {
$("#控件ID").val(msg[0].返回值);
}
else if (msg[0].success == "none") {
$("#控件ID").val("");
}
},
async: false,
error: function(ee) { alert("登陆超时,请重新登录!") }
});
}