rdrunner40
MIS
Hi all,
Please can somebody show where to try the setfocus() as in Vbscript on the following page which is a login form
I want the textbox for username to receive the focus... after reading and trying all have not got this to work
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Please Log In...</title>
</head>
<body bgcolor="#C0C0C0">
<form action=loginHandler.asp method=post>
<p align="center">
</p>
<p align="center">
<font color="#0000FF" size="4" face="Verdana">Please enter your username
and password<br>
to access the secure area of the intranet</font>
</p>
<div align="center">
<center>
<table border="1" width="60%">
<tr>
<td width="50%">
<p align="center"><font face="Verdana" color="#0000FF">Username:</font></td>
<td width="50%"><input type=text name='username' size="20" style="color: #0000FF; font-size: 12pt; font-weight: bold; font-family: Verdana"></td>
</tr>
<tr>
<td width="50%">
<p align="center"><font face="Verdana" color="#0000FF">
Password:</font></td>
<td width="50%"><input type=password name='password' size="14" style="font-family: Verdana; font-size: 12pt; color: #0000FF"></td>
</tr>
</table>
</center>
</div>
<p align="center">
</p>
<p align="center">
<input type=submit Value='Log In'><BR>
</p>
</form>
<hr>
<p align="center"> </p>
</body>
</html>
regards in advance
Murray
Please can somebody show where to try the setfocus() as in Vbscript on the following page which is a login form
I want the textbox for username to receive the focus... after reading and trying all have not got this to work
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Please Log In...</title>
</head>
<body bgcolor="#C0C0C0">
<form action=loginHandler.asp method=post>
<p align="center">
</p>
<p align="center">
<font color="#0000FF" size="4" face="Verdana">Please enter your username
and password<br>
to access the secure area of the intranet</font>
</p>
<div align="center">
<center>
<table border="1" width="60%">
<tr>
<td width="50%">
<p align="center"><font face="Verdana" color="#0000FF">Username:</font></td>
<td width="50%"><input type=text name='username' size="20" style="color: #0000FF; font-size: 12pt; font-weight: bold; font-family: Verdana"></td>
</tr>
<tr>
<td width="50%">
<p align="center"><font face="Verdana" color="#0000FF">
Password:</font></td>
<td width="50%"><input type=password name='password' size="14" style="font-family: Verdana; font-size: 12pt; color: #0000FF"></td>
</tr>
</table>
</center>
</div>
<p align="center">
</p>
<p align="center">
<input type=submit Value='Log In'><BR>
</p>
</form>
<hr>
<p align="center"> </p>
</body>
</html>
regards in advance
Murray