//Login的请求code by awen function f_Login_User_Login_Foosun_Cn() {new Ajax.Updater('User_Login_Foosun_Cn',FSDomain+'/User/m_UserLogin_Ajax.asp?no-cache='+Math.random() , {method: 'get', parameters: 'type=ajax&spanid=User_Login_Foosun_Cn' })}; setTimeout('f_Login_User_Login_Foosun_Cn()',100); //LoginForm的请求code by awen function CheckForm() { if($('Login_returnInfo')==null){alert('拜托,m_UserLogin_Ajax.asp里面请加个id="Login_returnInfo",已供显示反馈!')}; if(document.myform.name.value=='') { alert('请输入您的用户名!'); document.myform.name.focus(); return false; } if(document.myform.password.value == '') { alert('请输入您的密码!'); document.myform.password.focus(); return false; } $('Login_returnInfo').innerHTML='请稍候...'; var options={ method:'get', parameters: 'Logintype='+document.myform.Logintype.value+'&name='+document.myform.name.value+'&password='+document.myform.password.value, onComplete:function(transport) {var returnvalue=transport.responseText; if (returnvalue.indexOf('欢迎您')==-1) $('Login_returnInfo').innerHTML=transport.responseText; else { $('LoginFormArea_awen').style.display='none'; $('LoginOkArea_awen').innerHTML=transport.responseText; } } }; new Ajax.Request(FSDomain+'/User/m_UserLogin_Ajax.asp?Act=Login_Ajax&no-cache='+Math.random(),options); return false; }