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’),
success: function(){
// Show success-message, reload article-list etc.
},
error: function() [...]
Archive for February, 2008
27Feb08


