TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:4999] HTML FORM question



I'm not sure what this has to do with Linux ;-) but...
Here's how I've seen it done:  (I found this at www.google.com)

If the name of your text box is "q"
and the name of your form is "f"

<SCRIPT language=JavaScript>
<!--
   document.f.q.focus();
// -->
</SCRIPT>


>Hi,
>
>I'm wondering how I can have an HTML page load up with  the cursor focus on
>this field.
>
>
><INPUT Type="text" ....>
>
>Thanks,
>
>Mark
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
>For additional commands, e-mail: tclug-list-help@listserv.real-time.com
>Try our website: http://tclug.real-time.com