Muh*_*zad 8 jquery jquery-plugins
我在变量中存储了一些HTML.现在我想从这个变量中删除一些div标签editor_data:
function validate_step_3()
{
var editor_data = CKEDITOR.instances.editor1.getData();
var i = $(editor_data);
alert(i);
}
Run Code Online (Sandbox Code Playgroud)
警报显示:
[对象]
我想删除这个div
editor_data.find('#fetch_InCkeditor').remove();
Run Code Online (Sandbox Code Playgroud)