Get/Set Current Cursor Position

  •  08-08-2009, 3:15 AM

    Get/Set Current Cursor Position

    Hi,
    I am using PasteHTML() method for pasting the specified HTML into the editor. It works fine, but sometimes it inserts the specified text at the top and not at the last cursor position. As my page also making lots of Ajax calls, I just doubt that editor's cursor position are getting lost.
     
    Can anyone suggest me the way to get current cursor position which I can use to set the cursor again if editor is reinitialized.
     
    Thanks,
    Lalit Lakum
View Complete Thread