jquery Ajax 提交
来源:互联网 发布:网络上赌博输钱找黑客 编辑:程序博客网 时间:2024/04/27 16:19
$.ajax({ url: 'login_check.asp',
type: 'POST',
cache: false,
data: {loginName:loginName.value,password:password.value,chkcode:chkcode.value},
dataType: 'html',
timeout: 10000,
global:false,
beforeSend: function(XMLHttpRequest){
ymPrompt.win({message:'正在登录,请稍后......',width:300,height:200,msgCls:'myContent',title:'用户登录',closeBtn:false});
},
error: function() {
ymPrompt.close();
ymPrompt.errorInfo({message:'由于网速过慢,操作未成功,请重试!',title:'信息提示',width:300,height:200});
},
success: function(root) {
ymPrompt.close();
if(root=="success"){
ymPrompt.succeedInfo({message:'登录成功,等待进入系统!',title:'信息提示',width:300,height:200,okTxt:false});
//document.getElementById("form1").submit();
window.location.href = "frame.asp";
}
else{
ymPrompt.errorInfo({message:unescape(root),title:'信息提示',width:300,height:200});
}
}
});
- Jquery AJAX提交
- jquery Ajax 提交
- jQuery+aJax表单提交
- jQuery的Ajax提交
- JQuery提交Ajax请求
- jquery ajax 提交方法
- jquery Ajax提交方式
- jquery .ajax同步提交
- Jquery ajax 表单提交
- jquery ajax异步提交
- jquery ajax 提交表单
- jquery-Ajax提交方法
- JQUERY ajax提交方式
- jquery ajax 提交表单
- jquery ajax 提交表单
- form提交 jquery ajax
- jQuery Ajax提交表单
- jQuery ajax提交
- 消息函数响应的添加(ON_MESSAGE的用法)
- MSN无法登陆,错误代码80072745
- 最舍不得删的手机短信 收藏
- Image和Base64 String之间的相互转换
- 大学各系男生求爱短信 (你是哪种?) 收藏
- jquery Ajax 提交
- Syntax error, unrecognized expression:[@name='R1'][@checked] 在火狐中报错
- 为什么上传文件的表单里要加个属性 enctype
- HTTP请求和响应格式
- shell if 参数
- 百草霜fbinst启动盘fba包汇总
- Net start
- NOIP随笔
- url中文处理