toggle html area

2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 24, 2009   (RSS)

By qwertyuiop - August 22, 2009 - edited: August 22, 2009

hi
how i can toggle html area?
for example in tiny mce users cay toogle the editor like this:
tinyMCE.init({
mode : "textareas",
theme : "advanced"
});
function toggleEditor(id) {
if (!tinyMCE.get(id))
tinyMCE.execCommand('mceAddControl', false, id);
else
tinyMCE.execCommand('mceRemoveControl', false, id);
}

is it possible in html area?
help pzl...