62,268
社区成员
发帖
与我相关
我的任务
分享
<td>
<asp:textbox id="txtEmpNo" runat="server" Width="88px" MaxLength="10"
style="BORDER-RIGHT: #adadad 1px solid;
BORDER-TOP: #adadad 1px solid; BORDER-LEFT: #adadad 1px solid; BORDER-BOTTOM: #adadad 1px solid"Height="20px">
</asp:textbox>
</td>
Sub window_onload
self.focus
if len(window.document.Form1.txtEmpNo.Value) >= 8 then
window.document.Form1.txtPwd.focus
else
window.document.Form1.txtEmpNo.focus
end if
'window.open "notice.htm","notice","height=150, width=300, left=200, top=100, toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no"
End Sub
Sub txtEmpNo_onkeyup
if len(window.document.Form1.txtEmpNo.Value) >= 8 then
window.document.Form1.txtPwd.focus
end if
End Sub
<form id="Form1" method="post" runat="server">
<asp:textbox id="txtEmpNo" runat="server" Width="88px" MaxLength="10" style="BORDER-RIGHT: #adadad 1px solid; BORDER-TOP: #adadad 1px solid; BORDER-LEFT: #adadad 1px solid; BORDER-BOTTOM: #adadad 1px solid"
Height="20px"></asp:textbox></td>
<td align="right" rowspan="3"><img src="image/main/login_images03.gif" width="29" height="99" border="0"></td>
</tr>
<tr>
<td>
<P>
<asp:textbox id="txtPwd" runat="server" Width="88px" TextMode="Password" style="BORDER-RIGHT: #adadad 1px solid; BORDER-TOP: #adadad 1px solid; BORDER-LEFT: #adadad 1px solid; BORDER-BOTTOM: #adadad 1px solid"
Height="20px"></asp:textbox></P>
</td>
</tr>
<tr>
<td>
<P><asp:imagebutton id="btnLogin" tabIndex="3" runat="server" ImageUrl="image/main/login_icon.gif"></asp:imagebutton><a href="#" OnMouseOut="na_restore_img_src('login_icon', 'document')" OnMouseOver="na_change_img_src('login_icon', 'document', 'images/login_icon_a.gif', true)"></a></P>