Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Position the cursor at start of text on setFocus?

Slopster_ZA
Level 1
Level 1

Hi,

I have a rich-text Text Field that contains more text than fits in the viewable area. On docReady, I want to setFocus to the text field - but I want the cursor placed at the beginning of the text in the field. The default behaviour for setFocus places the cursor at the end of the text.

Thanks! 🙂

1 Reply
Slopster_ZA
Level 1
Level 1

I think it's the same issue in this post which wasn't answered...

http://forums.adobe.com/message/1344955