I have used the below script to register the ONFocus event for FCKEditor.
<script type="text/javascript" language="javascript">
function FCKeditor_OnComplete( editorInstance )
{
editorInstance.Events.AttachEvent( 'OnFocus', DoSomething ) ;
editorInstance.Events.AttachEvent( 'OnBlur', DoSomething1 ) ;
}
</script>
I have used the text input just like the given example.
<input type="text" id="Imgfile" runat="server" onfocus="EnableTip('Imgfile','file',0);" onblur="DisableTip('Imgfile','file');" />
My problem is that when cursor focus on Editor area, then the blur event does not fire. but when cursor moves out of the editor area then its (input) blur event fires.
It happens only on Safari, and it works fine for IE and Mozilla.
Please suggest solution
<script type="text/javascript" language="javascript">
function FCKeditor_OnComplete( editorInstance )
{
editorInstance.Events.AttachEvent( 'OnFocus', DoSomething ) ;
editorInstance.Events.AttachEvent( 'OnBlur', DoSomething1 ) ;
}
</script>
I have used the text input just like the given example.
<input type="text" id="Imgfile" runat="server" onfocus="EnableTip('Imgfile','file',0);" onblur="DisableTip('Imgfile','file');" />
My problem is that when cursor focus on Editor area, then the blur event does not fire. but when cursor moves out of the editor area then its (input) blur event fires.
It happens only on Safari, and it works fine for IE and Mozilla.
Please suggest solution
Re: OnBlur event does not work for textbox
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Blur event does not fire until second time clicked outside area
Frederico,
Please help with this issue. The blur event doesn't seem to fire the first time when it should. We are creating inline editable areas dynamically.
http://ckeditor.com/forums/CKEditor/Registered-blur-event-doesnt-fire-the-first-time-it-seems-that-it-should-see-details#comment-125428
Thanks