'all' Syntax Parameters and Note : all « Javascript Collections « JavaScript Reference

'all' Syntax Parameters and Note

Note:

Returns an array of all the elements in the object.
    
Syntax:
    
objectName.all // returns all elements
objectName.all(param1, param2) // returns an individual element


    param1    Required; zero-based index or 
                        desired member's id or name attribute.
                        
    param2    Optional; the zero-based index if param1 
                        matches more than one element.

    

      
      








Related examples in the same category

1.'all' Example
2.'all' JavaScript properties and JavaScript methods
3.'all' is applied to