'add()' Syntax, Parameters and Note : add « Javascript Methods « JavaScript Reference

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Methods » add 
'add()' Syntax, Parameters and Note

Note:

Adds an element to the collection.
    
Syntax:
    
document.all.selectID.add(param1, param2)
collectionName.add(param1, param2)


Parameters:
    param1   Required; the element to add.
    param2   Optional; the index position for the added element.

    

      
      
Related examples in the same category
1.'add()' Example
2.'add()' 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.