$(form_element + ' form').ajaxForm({
target: form_element
beforeSubmit: function(formArray, jqForm){
// if any FCKEditors open, update their fields
if (FCKeditorAPI)
{
for (i in FCKeditorAPI.Instances)
{
// TODO fix this, it doesn't work.
FCKeditorAPI.Instances[i].UpdateLinkedField();
}
delete i;
}
return true;
},
success: function(data){
// my success routine
}
});
Tue, 09/16/2008 - 12:18
#1

Re: FCK with jQuery ajaxForm plugin - old data sent to server
I don't know why the methods used by the jquery.fckeditor plugin work and mine don't, but hey it's working for now.