Reputation:
How can one set the value for TinyMCE or reset its current value?
The form name is form
and element which associated with TinyMCE is editor
.
Upvotes: 1
Views: 4805
Reputation: 6542
Specifically for any textarea, just specify id of textarea.
For example, id of textarea is country then
tinyMCE.get('country').setContent('AnyCountryName');
Upvotes: 0