DropDown Element Element

Getting Started | API | Elements | Actions | Validators | Handlers | About

Table of Contents

1 DropDown Element - #dropdown {}

The dropdown element produces an HTML dropdown.

1.1 Usage

#dropdown { id=dropdown1, value="2", options=[
  #option { text="Option 1", value="1" },
  #option { text="Option 2", value="2" },
  #option { text="Option 3", value="3" }
]}

1.2 Attributes

options - (list of option elements)
Set the available options for this dropdown.
html_encode - (boolean)
Set to true to safely html-encode the options' text.
postback - (Erlang term)

If set, selecting an option will automatically initiate a Nitrogen postback with the supplied term.

value - (string)
If set, the option matching this value will be selected by default.

Author: Rusty Klophaus (@rklophaus) <>

Date: 2010-06-14 18:35:20 EDT

HTML generated by org-mode 6.33f in emacs 22