DropDown element

DropDown elements let you add drop-down lists of options onto the page.

Creation:

newDropDown("name", "default text")

Example:

[js try=”test”]newDropDown(“warmth”, “Select an adjective”)
.settings.add( “hot” , “lukewarm” , “cold” )
.print()
[/js]

The code above adds a drop-down list containing hot, lukewarm and cold onto the page.

Commands

[yadawiki-list category=”NonTest command,DropDown element”]

Tests

[yadawiki-list category=”Test command,DropDown element”]