开发者

I want to disable a tinymce textbox

I开发者_JAVA百科 have a tinymce textbox which I want to disable and again enable on a button click through ASP.NET.

When it is disabled it should be read only.


Have a look at this thread of the tinymce forum. This might be helpfull.


tinymce.activeEditor.getBody().setAttribute('contenteditable', 'Disable');

See also Enable Disable (Readonly) TinyMCE Editor using JavaScript or Server Side

 

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜