CKeditor使用js验证不得为空

    if (CKEDITOR.instances.TextArea1.getData() == '') {
        alert('警告:详细内容不得为空!');
        CKEDITOR.instances.TextArea1.focus();
        return false;
    }

 

posted @ 2017-01-15 14:57  党兴明  阅读(742)  评论(0编辑  收藏  举报