Bug - in FireFox accessing current cursor position

  •  07-14-2007, 8:22 PM

    Bug - in FireFox accessing current cursor position

    I get this error message in Firefox, not in IE:
     
    editor1.GetSelection().createRange is not a function.
     
    with this code:
     
    var selectedhtml = editor1.GetSelection().createRange().htmlText;
     
    How to fix this?
View Complete Thread