| Ever wondered how they get the cursor to automatically flash in the first input field of a form? Well here is one method that will work for you. Take the contents of the text area and add it to the <head> area of your webpage. Then replace your <body> tag with the complete <body> tag below. That's it. The form that is shown below is an example that you can use to test the effectiveness of this little script.
<body onload="setfocus()">
<form> <input type="text" name="field" size="30"> <input type="text" name="field1" size="30"> <input type="text" name="field2" size="30"> <input type="text" name="field3" size="30"> <input type="text" name="field4" size="30"> </form>
|