I need to do this:
It sort of works, the cursor is placed inside the CK Editor after that code runs but the UI does not scroll to the field.
So if the CK Editor is not in view on the page, say when the user is at the bottom of the page and a validation error causes the above code to run, there's no scrolling to the editor.
In IE, I received the following:
Webpage error details
Message: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
CKEDITOR.instances.abstractText.focus();
It sort of works, the cursor is placed inside the CK Editor after that code runs but the UI does not scroll to the field.
So if the CK Editor is not in view on the page, say when the user is at the bottom of the page and a validation error causes the above code to run, there's no scrolling to the editor.
In IE, I received the following:
Webpage error details
Message: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.