老哥 怎么去掉一进去弹框的友情提示啊
我加了ajax之后就出问题了
var JsonData = { login: login, pwd: pwd, code: code }; //此处做为ajax内部判断 var url = ""; $.ajax({ url: yuming + '/backstage/init/login', type: 'post', data: { username: login, password: pwd }, dataType: 'JSON', success: function(data) { if (data.code == 0) { if (JsonData.code.toUpperCase() == CodeVal.toUpperCase()) { url = "Ajax/Login"; /*location.href="index.html";*/ } else { url = "Ajax/LoginFalse"; } AjaxPost(url, JsonData, function() { //ajax加载中 }, function(data) { //ajax返回 //认证完成 setTimeout(function() { $('.authent').show().animate({ right: 90 }, { easing: 'easeOutQuint', duration: 600, queue: false }); $('.authent').animate({ opacity: 0 }, { duration: 200, queue: false }).addClass('visible'); $('.login').removeClass('testtwo'); //平移特效 }, 2000); setTimeout(function() { $('.authent').hide(); $('.login').removeClass('test'); if (data.Status == 'ok') { //登录成功 $('.login div').fadeOut(100); $('.success').fadeIn(1000); $('.success').html(data.Text); //跳转操作 } else { AjaxErro(data); } }, 2400); }); } } });回复