Inserting Image at the Cursor Position

  •  04-12-2007, 8:44 AM

    Inserting Image at the Cursor Position

    I have a page with cuteeditor in it....I have a button(Insert Image)which opens a popup window.In that popup window,the user can be able to select an image.When user selects the image,a corresponsing IMG tag will be forming and that tag will be inserted to the cuteeditor in the main form when clicking a button in the POPUP window.

    Currently how i did is adding the IMG tag to the existing HTML tags of the cuteeditor so that the IMG tag comes at the end of the content(Done By SetHTML Javascript Function)

    What my requirement is that how can i insert IMG tag at the place of the cursor position

View Complete Thread