Note that unless otherwise noted, these MUST be direct children of
Alert message
The alert message will be displayed in a javascript alert whenever the radio button is changed.
Thus, ith a is the default, that can be overridded on a button specific basis by using an
Shortcut: include an 'alert="message"' in the (and do NOT include an child node).
When this button is clicked, call afunc using : afunc(this,data)
where 'this' will refer to the element; hence this.value is the value of the radio button clicked.
For example, afunc could toggle view of a block of text.
As with a default call can be specified (within , or you can specify button specific function calls.
Shortcut: include an 'confirm="message"' in (and do NOT include an child node).
Shortcut: include an 'confirm="message"' in (and do NOT include an child node).
If specified, when the form is submitted a verification function is called.
Thus, is only useful if there is a parent !
You can specifiy the function by using the call attribute.
However, if you do not specify a call, then a generic function is called that checks to see if a button was chosen within this set
(identified by aname).
If specified, when the form is submitted a verification function is called.
Thus, is only useful if there is a parent !
You can specifiy the function by using the call attribute.
However, if you do not specify a call, then a generic function is called that checks to see if a button was chosen within this set
(identified by aname).
Note that for alerts and confirms, we suggest using
Special functions:
A few special values of afunc will support common actions (rather than call a custom function):
* toggle : toggle display of an element (with an id equal to the specified data). For example, this can toggle display of a nested set of radio buttons
* hide : hide display of an element
* show : show an element
Confirm can be specified with in
A confirmation box will be displayed whenever the button is changed; if CANCEL is chosen the change will be negated.
As with a default confirm can be specified (within , or you can specify button specific confirmation messages.
Shortcut: include an 'confirm="message"' in (and do NOT include an child node).
If specified, when the form is submitted a verification function is called.
Thus, is only useful if there is a parent !
You can specifiy the function by using the call attribute.
However, if you do not specify a call, then a generic function is called that checks to see if a button was chosen within this set
(identified by aname).