开发者

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');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜