javascript text appendData( )

appendData( )NN 6 IE 5(Mac)/6(Win) DOM 1  

appendData("newText")

  

Adds characters (passed as a string parameter) to the end of the current text node. The content consists of raw characters, so if you intend to add a sentence to a text node, your scripts are responsible for sentence spacing.

 
Parameters
 
  • String value of text to be appended. A reference that evaluates to a string (such as the data property of another text node in the document) copies the referenced value to the append location.
 
Returned Value

None.


  • al
    #1
    2010-05-14
    [Quote]
    very interesting...
2062,Nickname,Homepage or email,Comments here,Add comment