Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2006-04-10 17:50:33

jcsalem
New member
Registered: 2006-04-10
Posts: 4

Automatically setting focus to the HTMLArea

As others have requested, I'd like to programmatically set the focus to my HTMLArea after it's created.

I've tried:
editor.activateEditor()
editor.focusEditor()
but that fails with the message that editor._doc is not defined.

Although there is some discussion that this isn't possible without the user explicitly clicking on the editor, I'd like to better understand why and whether there is any workaround. 

Thanks,

-- Jim

Offline

Board footer

Powered by FluxBB