21,891
社区成员
发帖
与我相关
我的任务
分享
<script type="text/javascript">
<script type="text/javascript">
<?php
if($_POST){
$username = $_POST['txtName'];
echo "alert('$username');";
}
?>
</script>
<html>
<head>
<title></title>
<script type="text/javascript" src = "mylogin.js"></script>
<script type="text/javascript">
<?php
if($_POST){
$username = $_POST['txtName'];
echo "alert('$username');";
}
?>
</script>
</head>
<body onLoad="document.getElementById('txtName').focus()">
<span style="color: #FFF"></span>
<table border="1" align="center" cellpadding="1" cellspacing="1" height="100%" style="margin:0 auto;">
<tr>
<td valign="middle">
<div class="form">
<form action="test.php" method="post" enctype="application/x-www-form-urlencoded" onSubmit="javascript:return OnSubmit();">
<table border="1" align="right" cellpadding="1" cellspacing="1">
<tr>
<td width="68" class="labName">Óû§Ãû£º</td>
<td><input type="text" name="txtName" id="txtName"></td>
</tr>
<tr>
<td class="labPWD">ÃÜÂ룺</td>
<td><input type="password" name="txtPwd" id="txtPwd" onFocus="javascript:OnPassword();"></td>
</tr>
<tr>
<td height="45" colspan="3" align="center" valign="middle"><input type="image" src="image/admin/login/btnsubmit.jpg"></td>
</tr>
</table>
</form>
</div>
</div></td>
</tr>
</table>
</body>
</html>