当前位置 :
functioncheckssn(gotoURL){varssn=form.username.value.toLowerCase();if(checkUserName(ssn)){x09varopen_url=gotoURL+username="+ssn;x09window.open(open_url,'','status=0,directories=0,resizable=0,toolbar=0,location=0,scrollbars=0,width=322,
1人问答
更新时间:2024-05-13 02:37:20
问题描述:

functioncheckssn(gotoURL){

varssn=form.username.value.toLowerCase();

if(checkUserName(ssn)){

x09varopen_url=gotoURL+username="+ssn;

x09window.open(open_url,'','status=0,directories=0,resizable=0,toolbar=0,location=0,scrollbars=0,width=322,height=200');

x09}

}

刘暾回答:
  function checkssn(gotoURL) {   var ssn=form.username.value.toLowerCase();   //将name为form的表单中的name为username的文本域的值转为小写   if (checkUserName(ssn)){   //通过checkUserName函数检测填入的值是否符合要求   x09 var open_url = gotoURL + "?username=" + ssn;   x09 //根据传入的地址,加上get传值将输入的值传递给服务器   x09 window.open(open_url,'','status=0,directories=0,resizable=0,toolbar=0,location=0,scrollbars=0,width=322,height=200');   x09 //打开一个322x200的新窗口   x09}   }
最新更新
PC端 | 移动端 | mip端
问答网(wenda2.com)汇总了汉语字典,新华字典,成语字典,组词,词语,在线查字典,中文字典,英汉字典,在线字典,康熙字典等等,是学生查询学习资料的好帮手,是老师教学的好助手。
声明:本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。

邮箱:联系方式:

Copyright©2009-2021 问答网 wenda2.com 版权所有 闽ICP备2022000227号-1