ZVON > References > DOM1 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  -  String 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
UNLIMITED Web Hosting by HostDepartment Alojamiento Web UK Domain Names glossary for conference call answering service
MSN VoIP Internettelefonie Hosted Exchange, SDSL VoIP Internettelefonie AT VoIP Internettelefonie DE