insertation point

  •  04-22-2005, 10:16 PM

    insertation point

    is there a way to retrieve and set the current insertation point
    in cuteeditor from javascript?

    i'm using the following javascript to insert text into the cuteeditor:
         document.getElementById('<%=CuteEditor.ClientID%>').ExecCommand('PasteHTML',false,s);
    but i'm losing the current insertation point because the text is coming from
    an asp:TextBox and the user has to leave cuteeditor to enter the text and click
    a button to insert the text.
    this only seems to be a problem with IE, mozilla runs fine.



View Complete Thread