A Slacker's Guide to Dynamic HTML [5k]
DHTML SCRIPTS
Menu/Navigation
Special Effects
Images
Forms
Text/Announcements
Windows/Pop-ups
Clocks/Countdowns
Miscellaneous



Automatically Position Cursor in Form

Instructions: you can rename the "stb" name. Just make sure you change both instances and that they match.
Notice the cursor in the search box field.
Name the form you want the cursor in "myform", and name the input box the cursor should be in "keywords". You can name it something else but you'll need to also change it in the other part of the code. Like so: <form name="myform">
<input name="keywords">

This goes in the HEAD of your document.

Select All & Copy

This goes in the BODY tag of your document, like....inside it.

Select All & Copy


Home - Sitemap
Complete HTML Guide - Free Downloads for Webmasters - Tips & Tricks - Tag Reference
Style Sheets Tutorial - JavaScript Library - Dynamic HTML Script Library - XHTML Primer
dhtml/form/cursorauto.html

BIGGER ARCHIVES
MORE INFO
Everything I am not
http://www.dynamicdrive.com
http://www.dhtmlzone.com
http://www.dhtmlshock.com


Popular Scripts
Find in Page
Let it Snow!
Auto Select & Copy
Announcement Box


Just about every Dynamic HTML script on this site is ©opyright Dynamicdrive.com, DHTML Zone, DHTML Shock, or the person whose name appears in the credits to the script. Let it be known that I wrote NONE of them.