C#設置
2 回答

神不在的星期二
TA貢獻1963條經驗 獲得超6個贊
jquery json 兼容各種語言
function loginin(){
$.blockUI({message:"<div style='padding:10px 0'>正在提交請求,請稍候...</div>"});
var username = $.trim($("#account_name").val());
var pasw = $.trim($("#password").val());
var remoteUrl = "login.aspx?username=" + username + "&password=" + encodeURIComponent(pasw) + "&t=" + (new Date()).getTime();
$.getJSON(remoteUrl,function(data){
if (data.sucess != "True"){
if(data.message)
location.href = "message.aspx?e=" + data.message ;
}else{
location.href="main.aspx";
}
})
- 2 回答
- 0 關注
- 373 瀏覽
添加回答
舉報
0/150
提交
取消