View Single Post
Old 05-16-2005, 11:03 AM   #1 (permalink)
brendalisalowe
Registered User
 
Join Date: May 2005
Posts: 9
brendalisalowe is on a distinguished road
won't focus and have error...[RESOLVED]

Can anyone see why this page is giving me an error and not focusing? By the way, I am a newbie

Code:
<HTML>
	<HEAD>
	<script language="JavaScript">
		function setFocus()
		{
		Document.Form1.txtUserName.focus();
		}
	</script>
		<title>Login</title>				
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">		
	</HEAD>	
	<body onload="setFocus();">
....................
I think this is giving me the error: <body onload="setFocus();">
Brenda

Last edited by brendalisalowe; 05-26-2005 at 12:10 PM.
brendalisalowe is offline   Reply With Quote