Adds a new element to the collection of OPTION elements for this element.

[VBScript]
Public Function Add( _
   ByVal element As HTMLElement, _
   ByVal before As HTMLElement _
)
[JScript]
public function Add(
   element : HTMLElement,
   before : HTMLElement
);

Parameters

element
The element to add.
before
The element to insert before (optional).

See Also

HTMLSelectElement Object | HTMLSelectElement Members | DOM Namespace