css - Get content of tiny mce with many textareas on page -
var inst, contents = new object(); (inst in tinymce.editors) { if (tinymce.editors[inst].getcontent) contents[inst] = tinymce.editors[inst].getcontent();
i have 3 textareas on page 3 different id: #id1; #id2;#id3.
how can make work code #id3? i've tried replace inst id3, didn't work.
it suffiecient call
var contents = new object(); (var = 0; < tinymce.editors.length; i++) { contents[i] = tinymce.editors[i].getcontent(); }
Comments
Post a Comment