<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>you can use the .focus () and .select () methods of
the INPUT object. For example:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>... </FONT></DIV>
<DIV><FONT face=Arial size=2><input name="lala"
value="text..."/></FONT></DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2><script></FONT></DIV>
<DIV><FONT face=Arial size=2> var txtTest =
document.all["lala"];<BR> txtTest.focus ();<BR> txtTest.select
();<BR></FONT><FONT face=Arial size=2></script></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Dan.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dstoltz@shh.org href="mailto:dstoltz@shh.org">Dave Stoltz</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">'[JavaScript List]'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, December 09, 2003 7:08
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] Textbox
Highlighting</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=913030717-09122003><FONT face=Arial size=2>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)???</FONT></SPAN></DIV>
<DIV><SPAN class=913030717-09122003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=913030717-09122003><FONT face=Arial
size=2>Thanks!</FONT></SPAN></DIV>
<DIV><SPAN class=913030717-09122003></SPAN> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Javascript mailing
list<BR><A href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</A><BR><A
href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</A><BR></BLOCKQUOTE></BODY></HTML>