ajax送出表單時CKEDITOR不實時更新字段内容解決方法:
//ajax異步送出需要更新Ckeditor資料(預設的form.submit()會自動觸發更新,不需要調用以下方法)
for (instance in CKEDITOR.instances) {
CKEDITOR.instances[instance].updateElement();
}
ajax送出表單時CKEDITOR不實時更新字段内容解決方法:
//ajax異步送出需要更新Ckeditor資料(預設的form.submit()會自動觸發更新,不需要調用以下方法)
for (instance in CKEDITOR.instances) {
CKEDITOR.instances[instance].updateElement();
}