how to validate joomla default text editor on blur using jQuery?
This is the code what I used get text editor.
$editor = & JFactory::getEditor();
$editor->display('description', $this->my_data->description , 550, 400, 60, 20);
What I want is I want to show a warning message next to text editor saying “you can’t leave this blank”. I can do it in form submit but real challenge is how to do it on blur.
Add this code in your tmpl files
and call this javascript on form submit.