Page is a not externally linkable
- Code, Content, and Presentation
-- WYSIWYG and Text Code Editors
---- TinyMCE textarea validation


coopster - 7:07 pm on Jan 2, 2012 (gmt 0)


And if you have more than one instance of the editor running you may want to use the triggerSave() method:

[tinymce.com...]

If you want to focus on any element after realizing it is empty you can use the execCommand:

[tinymce.com...]
[tinymce.com...]

pseudocode example:

if (your textarea has an error) { 
tinyMCE.execCommand('mceFocus', false, 'textareaID');
return false;
}


Thread source:: http://www.webmasterworld.com/html_editors/4388221.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com