HTML popup
A popup is a set of values that can be choosen when clicking on the field. The select tag contains all the values. Each value is stored with the option tag containing the label of the value and the value for the server using the value attribute. By default only one value can be selected, but it is possible to ask multiple selection using the multiple attribute.
You can force a default value with the selected attribute.
Attribute name | Attribute value |
---|---|
class | Set a value for CSS rules. The CSS rule will be applied to all tags with the same class name |
disabled | It will disable for any usage the component |
id | Set a unique value, it is useful for JavaScript or for CSS rule. For CSS it will be applied only for this tag |
name | The name of the parameter sent to the server |
multiple | This attribute (no value is required) will autorize multiple option selection. The values are sent to the server by repeating the component name. |
selected | This attribute (no value is required) will initialize the component with a selected option. |
style | Set a CSS value. It has always priority for general CSS rules. Sample : "background-color:red;color:white" |
value | The value sent to the server when the component is checked |