dropdown.settings.add

getDropDown(id).settings.add("option")

or getDropDown(id).settings.add("option1","option2",...)

Adds an option, or several options to the drop-down list.

Example:

[js highlight=”2″ try=”true”]newDropDown(“language” , “First language”)
.settings.add( “English” , “French” , “Tagalog” )
.print()
[/js]

Creates a drop-down list with default text First language and adds three options to it: English, French and Tagalog, then prints the list onto the page.