[thelist] Selecting text in a form text box (automatically)

Matthew Fischer mfischer at e-fishsolutions.com
Fri Sep 29 17:51:26 CDT 2000




On 9/29/00 at 10:58 PM, mpgalvin at eircom.net (Michael Galvin) wrote:

> I have a form, which is asking for a username and password.  If the user
> messes up his username the first time, and wants to go back to the username
> box before entering a password or pressing 'submit', I want the user to just
> type away again, effectively overwriting what was there.  The easiest way to
> do this would be to select the contents of the text box when entering it.
> I can do it in VB, but there must be a way of doing it in JS?
> Michael
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt ! 

^^^^^^^^  >e}e}}@>  ^^^^^^^^

Matt Fischer | e-fish solutions, inc.
877.WEB.FISH | 203.272.2987 | Fax 800.203.5816
mfischer at e-fishsolutions.com | http://e-fishsolutions.com

More information about the thelist mailing list