<html>
<head>
<script language="JavaScript">
function addToList(cb){
var select_list_selected_index = cb.selectedIndex;
var text = cb.options[select_list_selected_index].text;
var value = cb.value;
var myList = document.getElementById("lst");
myList.size = myList.size + 1;
myList.options[myList.length] = new Option(text, value);
}
</script>
</head>
<body>
<form>
<select size="0" id="lst" name="lst">
</select>
<select size="1" id="cb" name="cb" onchange="addToList(this);">
<option value="1" text="Option 1">Option 1</option>
<option value="2" text="Option 2">Option 2</option>
<option value="3" text="Option 3">Option 3</option>
</select>
</form>
</body>
</html>
__________________
Feel free to thank people if they help you by clicking thanks at a post.
=================================
Make it idiot proof and someone will make a better idiot.
=================================
Realise the impotence of proof reading everything you publish