人事管理系统-用户登录 <script> <br /> function CheckForm() <br /> { <br /> if (document.login.user_no.value.length == 0) { <br /> alert("请输入用户名称!"); <br /> document.login.user_no.focus(); <br /> return false; <br /> } <br /> if (document.login.user_pass.value == "") { <br /> alert("请输入密码!"); <br /> document.login.user_pass.focus(); <br /> return false; <br /> } <br /> return true; <br /> } <br /> </script>
回复讨论(解决方案)
从基础学起吧,这些都是最基本的代码。
就是一个静态页面,格式控制没有什么好注释的
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn