用javascript脚本语言编写的html登陆界面代码

直接给你脚本functioncheck(){if(document.form1.username.value==""){alert("请填写登录名!");returnfalse;}if(document.form1.password.value==""){alert("请填写登录表单输入您的密码!");returnfalse;}if(document.form1.username.value!="admin"&&document.form1.password.value!="123456"){alert("请仔细填写您的用户名和密码!");}else{/*跳转代码*/}