Button Element Element

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

Table of Contents

1 Button Element - #button {}

The button element produces an HTML button. When clicked, the button will cause a Nitrogen postback.

1.1 Usage

#button { text="Go!", postback={click, goButton} }

1.2 Attributes

text - (string)
The button's title.
html_encode - (boolean)
Set to true to safely html-encode the text.
postback - (Erlang term)
Clicking on the button will initiate a Nitrogen postback with the supplied term.

Author: Rusty Klophaus (@rklophaus)

Date: 2010-11-22 10:50:12 EST

HTML generated by org-mode 7.01h in emacs 24