ZVON > References > DOM2 Reference

createTextNode (method )

Owning interface and usage:  
Document.createTextNode(data)

Member of these other interfaces:  
none

Description:  
Creates a Text node given the specified string.

Parameters:  
DOMString data  -  The data for the node.

Returns:  
Text -  The new Text object.

Exceptions:  
none


Example:
JavaScript:
  var elem = document.createTextNode('This is some text.');
  var output = elem.nodeValue;
Output:
desired your browser
This is some text.



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
  • Planet Source Code - The largest public source code database on the Internet
answering service water softener MSN Alojamiento Web UNLIMITED Web Hosting by HostDepartment
VoIP Internettelefonie Hosted Exchange, SDSL VoIP Internettelefonie AT VoIP Internettelefonie DE