码迷,mamicode.com
首页 > 编程语言 > 详细

16java任务一

时间:2016-02-29 19:58:02      阅读:195      评论:0      收藏:0      [点我收藏+]

标签:

1.需要掌握的技术

php,html,css,dreamweaver,mycircle数据库,以及环境的配置

2.程序源代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>登陆界面</title>
<script>
function r()
{

    var username=document.getElementById("username");

    var pass=document.getElementById("password");
    if(username.value=="")
    {
        alert("请输入用户名");
        username.focus();
        return;
    }
    if(pass.value=="")
    {
        alert("请输入密码");
        return;
    }
return true;
}
</script>
</head>
<body>
<form>
    <table  width="350" bgcolor="#ccffcc" style="border-color" border="1">
                     <tr align=center>
            <td>用户名</td><td><input type="text" name="username"  id="username"></td>
             </tr>
                     <tr align=center><td>密 码</td><td><input type="password" name="password" id="password"></td></tr>
                     
                     <tr align=center><td colspan="2"><input type="button" value="登 录" onclick="r();"/>     <input type="reset" value="重 置"/></td></tr>
                               
    </table>
</form>
</body>
</html>

3.结果截图

技术分享技术分享

直接点击登录

技术分享

输入用户名后点击登录

 技术分享

4.未按时完成原因

假期玩的太疯,然后没有收住。导致假期虚度。

5.希望是能学习到更多关于软件设计从基础编程到市场分析的知识,目标是能够独立完成mis系统的设计。

 

 

16java任务一

标签:

原文地址:http://www.cnblogs.com/sisi-job/p/5228629.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!