add()
This method is used with the createElement() method to write or change the content of the OPTION parameter within a SELECT list.
syntax:
document.forms[n].elementID.options.add(new content)
The add() method is used with the following:
options