Re: Getting the inner html of the selection

  •  09-28-2006, 2:11 PM

    Re: Getting the inner html of the selection

    I tried that

       var sel=editor1.GetSelection();
       alert(sel);
       var r=sel.createRange().text;
        html=r.htmlText;
        alert(html);

    But firefox says that - sel.createRange is not a function - IE works OK.  I wonder if FireFox doesn't support range on a selection
View Complete Thread