javascript TextRange pasteHTML( )

pasteHTML( )NN n/a IE 4(Win) 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.


2116,Nickname,Homepage or email,Comments here,Add comment