<HTML>
<HEAD>
<META http-equiv = 'content-type' Content = 'text/html; charset = gb2312 '>
<TITLE> selection of list content </TITLE>
</HEAD>
<BODY>
<Script language = "JavaScript">
<! -- Begin
Oldvalue = "";
Function passText (passedvalue ){
If (passedvalue! = ""){
Var totalvalue = passedvalue + "\ n" + oldvalue;
Document. displayform. itemsbox. value = totalvalue;
Oldvalue = document. displayform. itemsbox. value;
}
}
// End -->
</Script>
<Form name = "selectform">
<Select name = "dropdownbox" size = 1>
<Option value = ""> select </option>
<Option value = "option 1"> option 1 </option>
<Option value = "option 2"> option 2 </option>
<Option value = "third"> third </option>
<Option value = "item 4"> Item 4 </option>
<Option value = "Item 5"> Item 5 </option>
<Option value = "item 6"> Item 6 </option>
</Select>
<Input type = button value = "add to list" onClick = "passText (this. form. dropdownbox. options [this. form. dropdownbox. selectedIndex]. value);">
</Form>
<Form name = "displayform">
<Font face = "Arial, Helvetica, Sans Serif" size = "3"> <B> You can choose one by yourself: </B> </font> <br>
<Textarea cols = "30" rows = "5" name = "itemsbox"> </textarea>
</BODY> </HTML>