Get/Set Current Cursor Position

Last post 08-08-2009, 3:15 AM by lakumlalit. 0 replies.
Sort Posts: Previous Next
  •  08-08-2009, 3:15 AM 54576

    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 as RSS news feed in XML