ckeditor check if empty
for (instance in CKEDITOR.instances) {
//element id
if (CKEDITOR.instances['element_id'].getData() == "") {
alert('empty');
} else {
alert('not empty');
}
}
Are there any code examples left?
New code examples in category Javascript