|
Printed
from BasicTips.com,
FREE helpful articles
and tips for Webmasters and Business Owners Co-Sponsored by Effective-Website-Secrets.com Category: Web Design
Place the code below in the <BODY> tag. This code instructs the browser to display the blinking cursor within the "signup" form in the text box named "email". <body onLoad="focus();signup.email.focus()"> You can change the form name and text box name to whatever you wish. However, it must also be changed within your <BODY> tag. If they are not the same, the browser will not understand the command. Here is the form's source code with corresponding color codes to help you understand. <form name="signup" method="post"
action="http://www.yoursite.com/cgi-bin/script.cgi"> Of course, you will need to change the action line to whatever script processes the form on the web site server. Contact your web hosting service if you are not sure what to use. |
