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.