Yes, that worked for me Ben.
I had the same issue and spend some time researching.
There is also another solution.
In ajax call instead of
$.ajax({
type: "POST",
url: "<?php echo SITE_PATH;?>/app/cms/edit.php",
data: dataString,
cache: false,
success: function(html) { $('#cboxLoadedContent').html(html); }
});
can be used that:
$.ajax({
type: "POST",
url: "<?php echo SITE_PATH;?>/app/cms/edit.php",
data: {id: id, field: content, type: type},
cache: false,
success: function(html) { $('#cboxLoadedContent').html(html); }
});
and content variable gets it's value as usual:
var content = $('#field').val();