2.22 addoption

The addoption subroutine adds an option to a select box.

Parameters:

$xestiascan_presmodule->addoption(optionname, options);


Usage:

$xestiascan_presmodule->addoption("Option Name", { Style => "option", Value => "optionvalue" });


optionname
Specifies the option name.

options
Specifies the following options as a hash in any order.

Setting Description
Style Specifies the CSS style to use.
Value Specifies the value for the option when selected.
Selected Specifies if the option should be selected by default.