OptionsArray.add() (Method)

Adds a new option item to a select popup object.

Availability:

JScript - 3.0
Internet Explorer - 4.0
JavaScript syntax:IEmyOptionsArray.add(anObject)
IEmyOptionsArray.add(anObject, anIndex)
Argument list:anObjectAn object to be added to the collection
anIndexThe index position at which it should be added

You can use this method call to add a new item to a list of options belonging to a Select object. This would be manifested to the user as a new item being visible when the select menu is popped onto the display.