Is there a way to "select none" before the PasteHTML command

  •  10-03-2005, 8:25 PM

    Is there a way to "select none" before the PasteHTML command

    I have added a custom button that inserts some HTML when clicked. the ExecCommand('PasteHTML'... command works fine, but it overwrites any previously selected text (or controls).

    Is there a way to insert html without replacing selected text.

    Thanks in advance,

    James
     
View Complete Thread