Opened 15 years ago
Closed 15 years ago
#5113 closed Bug (invalid)
When calling through javascript toggle, editor not Loading, help me pls
Reported by: | mady | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Hi,
I want a editor container enable, when js toggle is called On or OFF, i tried to call using the below script but i failed, whats wrong am doing, pls help me
JS Function: <script type='text/javascript'> function menuonchange() {
if(document.menu_add.Menu_Type.value == "none") {
var e = document.getElementById("menu_content"); e.style.display = 'block';
} else {
var e = document.getElementById("menu_content"); e.style.display = 'none';
}
} </script>
Editor Container
<div class="row"> <textarea class="textarea_forms" dir="rtl" rows="1" id="Menu_Content" name="Menu_Content" cols="50" style="display:none"; ></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'Menu_Content' );
</script></span>
</div>
Attachments (1)
Change History (2)
Changed 15 years ago by
Attachment: | JS_editor_toggle.html added |
---|
comment:1 Changed 15 years ago by
Keywords: | toggle javascript removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Version: | SVN (CKEditor) |
Please, use our forums for general support.
You are changing the visibility of the textarea, not of any container.
Toggle in Editor not working,