insertHTML in the cursor location

  •  09-29-2005, 7:13 AM

    insertHTML in the cursor location

    Hello,
     
    I use :
    function insert_content(current, content) {
        insertHTML(current.EditorID, content);
    }
     
    and in the popup page :
     
    window.opener.insert_content(window.opener.Editor1, content);
     
    Perfect BUT the posted content is posted at the beginning of page and not in the cursor's position...
     
    What cn I do to solve this problem? Could you help us out ?
     
    Thanks a lot for your quick feedback.
     
     
View Complete Thread