by prettyscripts on 2008-06-23 15:44:11 • Leave a comment »
javascript • xajax • tinymce
i just downloaded and installed tinymce which magically converted the <textarea> element into a nice little editor, which suppose transform the input into html output. nice! no more educating non-programmers about html tags.
if you submit the form via normal post action, the value for <textarea> form element is submitted. but when submitting the form via xajax, the data for the <textarea> element is empty!
before submitting the form, call tinyMCE.triggerSave().
more about tinymce and xajax here.