Expand my Community achievements bar.

Position the cursor at start of text on setFocus?

Avatar

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

Avatar

Level 1

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

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