p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

javascript thread: How to position cursor at end of text value after form load?


Message #1 by "Ee Chin Han" <chinhan@p...> on Wed, 2 Aug 2000 4:34:19
Hi, I'm new to Javascript, pls help.

I'm using a text box and a search button.
The text box contains some value(text).

when the form load, i need to position the cursor at the end of text.
If I use document.form.textbox.focus() the cursor will be at the beginning 
of text.

So pls help and thanks in advance.

han

  Return to Index