Hi All

If I have a form laid out as follows:

<input type="text" value="somevalue" name="input1"><br>
<input type="text" value="someothervalue" name="input2">

If the user tabs down the page & starts tabbing down the form the entire
contents of the field is selected by default. If the user immediately starts
typing they will replace the contents of the field.

My question is it possible (using onFocus() or something) to move the cursor
to the end of the field value when a user tabs into the field?

I guess I want the user to append to the value by default rather than
replacing it.


Cheers

Mark


------------------
Mark Stanton
Technical Director
Gruden Pty Ltd
Tel: 9956 6388
Mob: 0410 458 201
Fax: 9956 8433
http://www.gruden.com


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to