-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi John,
Real easy:
<html>
<head>
<script>
<!--
function setfocus() {
document.yourform.yourinput.focus();
}
// -->
</script>
</head>
<body onLoad=setfocus()>
<form action="" method=get name=yourform>
<input type=text value="" name="yourinput">
</form>
Going with Dave Watts mentioning today that the best answer to any
question is to try it for yourself, another way to do things... look
at how others do it, especially in regards to JS or HTML issues. You
can find the above script by looking at googles' site or ton's of
others.
HTH's.
Aaron Johnson, MCSE, MCP+I
Allaire Certified ColdFusion Developer
MINDSEYE, Inc.
<phn>617.350.0339
<fax>617.350.8884
<icq>66172567
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists