Archive for February, 2008

27Feb08

jquery/AJAX/TinyMCE

Here’s an issue I came across today: I’m updating an article in my CMS, using jquery.ajax, and everything works well, until I notice that the TinyMCE-textarea’s contents isn’t updated. My workaround/hack, in case someone runs into the same problem: Example JS-function: function send_form() { $.ajax({ type: ‘POST’, url: ‘foo.php’, data: $(‘form’).serialize() + ‘&article=’ + tinyMCE.getContent(‘article’), [...]




Archives

Categories