remove method (select)
Removes the specified option element or the option element at the specified position from the options collection of the current select element.
This method is identical to the remove method of the options collection, but the remove method is not supported by Firefox.
You can find the related objects in the Supported by objects section below.
|Required. A zero-based integer that specifies the position of the element or a reference to the option element to remove.|
This method has no return value.
Example HTML code 1:
This example illustrates the use of the remove method:
Did you find this example helpful?
User Contributed Comments