日语考试自动进入系列(一)

//用于登录进入,反本页的信息导入loginServle下的首页
function GoFirst(){
 userName=txtUserID.value;
 password=txtPassword.value; 
 parent.frames["main"].location.href="http://jlpt.etest.net.cn/loginServlet?useridno=" + userName + "&userpwd=" + password;
 //bCanUse=true;//useridno和userpwd分别为目标网页的控件id
}
原文地址:https://www.cnblogs.com/Dreamfly/p/387337.html