2,204
社区成员
发帖
与我相关
我的任务
分享
<html><head><title>登录界面</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script>
function $(id) { return document.getElementById(id); };
function settingsCallback(o) {
if ($('txtUsername')) $('txtUsername').value = o.Username;
if ($('txtpwd')) $('txtpwd').value = o.pwd;
};</script>
</head>
<body>
<form id='frmSetting' method='POST' action='mytest.cgi'>
<label>登录界面: </label>
<div class="Input_group">
<label>User Name:</label><input type='text' id='txtUsername' name='id' size='20' placeholder="Your ID" />
<label>Password:</label><input type='text' id='txtpwd' name='pwd' size='20' placeholder="Password" />
</div>
<div class="button_group">
<button class="green" >Enter</button>
</div>
</form>
<script type='text/javascript' src='mytest.js'></script>
</body></html>