Javascript Reference
Categories: all

javascript all tags( )

@March 15, 2008, 1:22 a.m.
tags( )Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

tags(tagName)

  

Returns a collection of objects (among all objects nested within the current element) whose tags match the tagName parameter.

 
Parameters
 
tagName

A case-insensitive string that contains the element tag name only (no angle brackets), as in document.all.tags("p").

 
Returned Value

A collection (array) of objects. If there are no matches to the parameters, the returned value is an array of zero length.


Powered by Linode.