Problem on function setHTML (Javascript object)

  •  10-16-2007, 10:07 AM

    Problem on function setHTML (Javascript object)

    i'm using the Cute Editor 6.0
    This is my Code
    -----------------------------------------------------
    <ce:editor id="EditNoiDung" runat="server" allowpastehtml="true" autoconfigure="Full_noform"

    breakelement="Br" TemplateItemList="Save,ForeColor,Bold,Italic,Underline,JustifyLeft,JustifyCenter,JustifyRight,InsertUnorderedList,Separator,Indent, Outdent, insertcustombutonhere,ImageGalleryByBrowsing,table"

    disableautoformatting="True" enablestripscripttags="false" enabletheming="False"

    enableviewstate="False" height="352px" removeservernamesfromurl="False" removetbodytag="true" securitypolicyfile="NewIdeas.config"

    showpreviewmode="False" width="465px">

    <FrameStyle BackColor="White" BorderColor="#DDDDDD" BorderStyle="Solid" BorderWidth="1px"

    CssClass="CuteEditorFrame" Height="100%" Width="100%" />

    </ce:editor>

    <script type="text/javascript">
    EditorData = document.getElementById(
    '<%=EditNoiDung.ClientID%>');
    EditorData.setHTML("Thu Nghiem");
    </script>
     
      -----------------------------------------------------
     
     
    On IE6.0,It sometimes has problem, i can see the text "Thu Nghiem" on editor but i can't focus into editor for changing this text.
     
    Please tell me how to repair it.
     
     
    Thank you so much.
View Complete Thread