$value ); print $OT->fields($selectlist); } else { $javascript = "alert('You should enter both a name and a value!')"; print $OT->javascript($javascript); } } elseif (isset($_REQUEST['my_select_list'])) { $html[item_value] = $_REQUEST['my_select_list']; print $OT->fields($html); } else { print <<

Selectbox Demo



You clicked the item with a value of:

Add a name and value to the select list

Item Name:
Item Value:
EOT; } ?>