determining which line break is selected

  •  01-23-2009, 9:42 PM

    determining which line break is selected

    Hi,
     
    Suppose you have the following html in the editor:
     
    <span>
    some text
    <BR><BR>
    some more text
    <BR><BR>
    still more text
    <BR><BR>
    something else
    </span>
     
     
    If the user has the cursor on the third blank line how can I know that they are on that line rather than the first or second one?
     
    We have disabled the backspace in this case to enforce our business rules.  To delete that line the user must use a custom function.
     
    Thank you for your help.
View Complete Thread