Re: How to get SelectionStart, SelectionEnd and SelectionRange

  •  08-21-2007, 10:54 AM

    Re: How to get SelectionStart, SelectionEnd and SelectionRange

    I assume your editor is a TextArea object, so how do we get the selectionStart and selectionEnd properties?
     
    Source content of a web page with CE Editor on it shows:
     

     <!-- CuteEditor Editor1 Begin -->

    <textarea name="Editor1" id="Editor1" rows="14" cols="50" class="CuteEditorTextArea" style="DISPLAY: none; WIDTH: 100%; HEIGHT: 100%">#1html#2
     #1h#9ad#2
     #1/h#9ad#2
     #1b#5dy b#5tt#5mmargin="50" l#9ftmargin="75" t#5pmargin="50" rightmargin="50" #7tyl#9='F#6NT-#8IZ#a: 12px; F#6NT-FAMILY: V#9rdana' #2
     #1/b#5dy#2
    #1/html#2 </textarea>

View Complete Thread