I tried the FAQ suggestion to change the value, but it doesn't seem to be doing anything.
<div class="richText><div class="richText-toolbar">...</div><div class="richText-editor"></div><textarea id="ecm_Comments"></textarea></div>
Sorry please ignore this issue - looks like I just found another element using the same #ecm_Comments id. So it was conflicting with setting the .val() and the .trigger('change').
I tried the FAQ suggestion to change the value, but it doesn't seem to be doing anything.
<div class="richText><div class="richText-toolbar">...</div><div class="richText-editor"></div><textarea id="ecm_Comments"></textarea></div>
I've tried this:
$('#ecm_Comments').val('<div>Something new</div>').trigger('change')