Javascript Reference
Categories: text

javascript text appendData( )

@March 15, 2008, 1:22 a.m.
appendData( )Firefox/Netscape/NN 6 IE 5(Mac)/6(Win) Chrome/Safari/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.

very interesting...
al - 2010-05-14

Powered by Linode.