Not able to Create a selection range, i am using following code.

  •  03-28-2005, 7:47 PM

    Not able to Create a selection range, i am using following code.


    function createRange()

        var editor = document.getElementById('CE_Editor1_ID_Frame'); 
        editor.focus(); 
        var sel = editor.document.selection.createRange().text;
    }

    CE:Editor id="Editor1" runat="server"

    input type='button' Value='Customize' id='selCustomize' name='selCustomize' onclick='BLOCKED SCRIPTcreateRange();'
     
     
View Complete Thread