<tml:button>

Avaliable since version 2.1.1

Description:
Generates an HTML tag <button> that calls an TML-Action on click.
Attributes:
General WebTML attributes are hidden -> show general attributes
Name Value(s) Version Usage

Details:
The attribute "clickaction" tells the tag which action to execute on click. The attributes param1 to param5 can be used to pass parameters to the action.

The content of the tag will be the label of t button. The attributes cssclass and cssstyle can be used to adjust display of the button.

You need to embed the tag tml:htmlhead to the head of the HTML page to be able to use this functionality.
Examples:
    This is a very simple example which generates a button to call action "anAction". This action just sets a message to WebTML variable "msg" which gets displayed by an item tag.

    <tml:action id="anAction">

      this.setvar("msg", "Click!");
    </tml:action>

    <tml:item name="msg"/>

    <tml:button clickaction="anAction">Click me!</tml:button>