Answered by:
Focus event of AJAX HTML editor

Question
-
User-389597101 posted
Hi
How can I fire the onfocus event of HTML editor.
Monday, February 3, 2014 6:54 AM
Answers
-
User-389597101 posted
Hi
It worked
$('#<%=editor.ClientID%>').find('iframe').focus(function () { alert("focus event fired for Design mode"); });
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, February 9, 2014 2:49 AM
All replies
-
User555306248 posted
Hi,
Try to use this to focus the editor.
AjaxControlToolkit v3.0.xxx or earier versions:
AjaxControlToolkit.HTMLEditor.LastFocusedEditPanel.get_activePanel().focusEditor();
v3.5.xxx or later versions:
Sys.Extended.UI.HTMLEditor.LastFocusedEditPanel.get_activePanel().focusEditor();
Monday, February 3, 2014 10:56 PM -
User-389597101 posted
Hi
I don't want to set the focus on editor. I am looking for the focus event with HTML editor
Monday, February 3, 2014 11:48 PM -
User-389597101 posted
Hi
Any updates
Wednesday, February 5, 2014 12:03 AM -
User-389597101 posted
Hi
It worked
$('#<%=editor.ClientID%>').find('iframe').focus(function () { alert("focus event fired for Design mode"); });
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, February 9, 2014 2:49 AM