Javascript Reference
Categories: TextRange

javascript TextRange pasteHTML( )

@March 15, 2008, 1:22 a.m.
pasteHTML( )Firefox/Netscape/NN n/a IE 4(Win) Chrome/Safari/DOM n/a  

pasteHTML("HTMLText")

  

Replaces the current text range with the HTML content supplied as a parameter string. Typically, this method is used on a zero-length text range object acting as an insertion pointer. All tags are rendered as if they were part of the original source code.

 
Parameters
 
  • Document source code to be inserted into the document.
 
Returned Value

None.


Powered by Linode.