We help IT Professionals succeed at work.

500 Points - Can you auto insert the cursor in a text box?

Donavan_usa
Donavan_usa asked
on
232 Views
Last Modified: 2010-04-03
Hi everyone - so here it is - can you auto insert the cursor in a text box?  For example, when the swf loads the end user does not have to click 'inside' the box, the cursor is already sitting there waiting for keyboard input!

Cheers to all!
Comment
Watch Question

Commented:
yeah...

name your textfield something (e.g. text1) then do
text1.setFocus();

Commented:
oops, should be:

Selection.setFocus(text1)
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
That was easy - you are awesome!

Cheers
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.