Javascript Reference
Categories: forms

javascript forms 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 within the current collection) with tags that match the tagName parameter. Redundant here, because all elements have the same form tag.

 
Parameters
 
  • A string that contains the element tag, as in document.forms.tags("form").
 
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.