3
我试图修复使用javascript验证字段的网站上的表单。在提交之前设置fckeditor的表单值
有些字段使用fckeditor,事实证明,表单字段值没有设置,直到提交按钮被按下 - 使我的表单验证无用。
我想要做的是(希望)只是调用fckeditor中的方法来更新它绑定的表单值。
有没有人知道这种方法?
谢谢, 约翰。
我试图修复使用javascript验证字段的网站上的表单。在提交之前设置fckeditor的表单值
有些字段使用fckeditor,事实证明,表单字段值没有设置,直到提交按钮被按下 - 使我的表单验证无用。
我想要做的是(希望)只是调用fckeditor中的方法来更新它绑定的表单值。
有没有人知道这种方法?
谢谢, 约翰。
文档在FCKeditor 2.x/Developers Guide/JavaScript API
FCKeditorAPI.GetInstance('InstanceName').UpdateLinkedField()
为CKEditor的从Using jQuery to grab the content from CKEditor's iframe
for (instance in CKEDITOR.instances)
CKEDITOR.instances[instance].updateElement();
点上,感谢的人:) – 2011-04-21 00:01:40