ZVON > References > DOM1 Reference

getElementsByTagName (method)

Owning interface and usage:  
Document.getElementsByTagName(tagName)

Member of these other interfaces :  
none

Description:  
Returns a NodeList containing all Elements of the given name in the same order as they appear in the source document.

Parameters:  
DOMString tagName  -  The name of the tag to match on. The special value "*" matches all tags.

Returns:  
NodeList -  A new NodeList object containing all the matched Elements.

Exceptions:  
none


Example:
JavaScript:
  var collection = document.getElementsByTagName('LINK');
  var output = collection[1].getAttribute('rel');
Output:
desired your browser
stylesheet



_____________________________________________
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