'data' Syntax and Note : data TextNode « Javascript Properties « JavaScript Reference

'data' Syntax and Note

Note:

Read and write property. 
Sets the string content for text node.
    
Syntax:
    
textNodeName.data = value

    

      
      








Related examples in the same category

1.'data' Example
2.'data' is applied to