Thank you all!!! _____ From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of Dan Costea Sent: Tuesday, December 09, 2003 12:15 PM To: [JavaScript List] Subject: Re: [Javascript] Textbox Highlighting you can use the .focus () and .select () methods of the INPUT object. For example: ... <input name="lala" value="text..."/> ... <script> var txtTest = document.all["lala"]; txtTest.focus (); txtTest.select (); </script> Dan. ----- Original Message ----- From: Dave Stoltz <mailto:dstoltz at shh.org> To: '[JavaScript List]' <mailto:javascript at LaTech.edu> Sent: Tuesday, December 09, 2003 7:08 PM Subject: [Javascript] Textbox Highlighting How can I set focus to a form textbox, and highlight the text in the box (so the user doesn't have to highlight with the mouse)??? Thanks! _____ _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20031209/a9bb6c47/attachment.htm>