Can not call getHTML() with Cute Editor in "hidden" divs

  •  07-05-2008, 1:05 PM

    Can not call getHTML() with Cute Editor in "hidden" divs

    I have two Cute Editors.  Each one is in its own separate DIV.
     
    One is in a DIV with a style attribute of “display:block” and the other is in a DIV with a style attribute of “display:none”.  

    I am having trouble with the editor that is in "display:none" DIV.  When I call the method editor1.getHTML() in FireFox, I get an error "editor1.getHTML is not a function". 
     
    This happens in both FireFox and Safari but it works fine in IE 7.

    In IE, the function works fine for both editors, whether in a DIV with “display:none” or in the DIV with the “display:block”.

    How can I get the editor functions to work in a DIV that is styled display:none for ALL browsers?
     
    My version of Cute Editor is 6.1
     
    Thanks,
    Becky
View Complete Thread