How set value for TinyMCE?
How can one set the value for TinyMCE or reset its current value?
The form name is fo开发者_如何学编程rm
and element which associated with TinyMCE is editor
.
tinyMCE.activeEditor.setContent(....)
Specifically for any textarea, just specify id of textarea.
For example, id of textarea is country then
tinyMCE.get('country').setContent('AnyCountryName');
精彩评论