Dropdown numbers
static public showNumber ( $myname, $options = [] ) | ||
$myname | select name | |
$options | array of additionnal options : - value default value (default 0) - rand random value - min min value (default 0) - max max value (default 100) - step step used (default 1) - toadd array of values to add at the beginning - unit string unit to used - display boolean if false get string - width specific width needed (default 80%) - on_change string / value to transmit to "onChange" - used array / Already used items ID: not to display in dropdown (default empty) |