<table class="ke-zeroborder" labelcanva="true" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="f_name">
<span class="form_err">*</span>用户名:
</td>
<td>
<input id="txtName" class="text" name="loginname" />
</td>
</tr>
<tr>
<td class="f_name">
<span class="form_err">*</span>密 码:
</td>
<td>
<input class="text" id="txtpwd" name="password" type="password" /><!--<a class="a_pw" href="#">忘记密码?</a> -->
</td>
</tr>
<tr>
<td class="f_name">
<span class="form_err">*</span>验证码:
</td>
<td>
<input class="text" id="txtcode" name="validator" maxlength="4" /><span class="code"><img src="checkcode.ashx" onclick="this.src=this.src+'?'" /></span>
</td>
</tr>
<tr style="display:none;">
<td class="f_name">
</td>
<td>
<input name="autologin" type="checkbox" />下次自动登录
</td>
</tr>
<tr>
<td class="f_name">
</td>
<td>
<a class="a_login" href="javascript:;" commandbutton="login">登录</a> <a class="a_reg" href="#">重置</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<script type="text/javascript">
$(".product_tablebg").click(function () {
$(this).remove();
$(".product_tablek").remove();
})
$(".product_tablek .span").click(function () {
$(".product_tablebg").remove();
$(".product_tablek").remove();
})
$(".a_reg").click(function () {
$("#txtName").attr("value", "");
$("#txtpwd").attr("value", "");
$("#txtcode").attr("value", "");
})
</script>
<tbody>
<tr>
<td class="f_name">
<span class="form_err">*</span>用户名:
</td>
<td>
<input id="txtName" class="text" name="loginname" />
</td>
</tr>
<tr>
<td class="f_name">
<span class="form_err">*</span>密 码:
</td>
<td>
<input class="text" id="txtpwd" name="password" type="password" /><!--<a class="a_pw" href="#">忘记密码?</a> -->
</td>
</tr>
<tr>
<td class="f_name">
<span class="form_err">*</span>验证码:
</td>
<td>
<input class="text" id="txtcode" name="validator" maxlength="4" /><span class="code"><img src="checkcode.ashx" onclick="this.src=this.src+'?'" /></span>
</td>
</tr>
<tr style="display:none;">
<td class="f_name">
</td>
<td>
<input name="autologin" type="checkbox" />下次自动登录
</td>
</tr>
<tr>
<td class="f_name">
</td>
<td>
<a class="a_login" href="javascript:;" commandbutton="login">登录</a> <a class="a_reg" href="#">重置</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<script type="text/javascript">
$(".product_tablebg").click(function () {
$(this).remove();
$(".product_tablek").remove();
})
$(".product_tablek .span").click(function () {
$(".product_tablebg").remove();
$(".product_tablek").remove();
})
$(".a_reg").click(function () {
$("#txtName").attr("value", "");
$("#txtpwd").attr("value", "");
$("#txtcode").attr("value", "");
})
</script>
</div>
本文转自程序猿博客51CTO博客,原文链接http://blog.51cto.com/haihuiwei/1587885如需转载请自行联系原作者
365850153