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

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Collections » anchors 




'anchors' Syntax Parameters and Note

Note:

Returns an array of all <a> elements in the document.
    
Syntax:
    
document.anchors // returns all anchors
document.anchors(param1, param2// returns an individual anchor


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

    

      
      














Related examples in the same category
1.'anchors' Example
2.'anchors' JavaScript properties and JavaScript methods
3.'anchors' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.