SOURCE CODE:
<form name = "form1">
<select size = "1" name = "product" onChange = "cp()">
<option value = "Pencils">Pencils</option>
<option value = "Pens">Pens</option>
<option value = "Paper">Paper</option>
</select>
</form>

<script language = "javascript">
document.write("<br><br>Length: ");
document.write(document.form1.product.length);
document.write("<br>Size: ");
document.write(document.form1.product.size);
document.write("<br>Choices:");
document.write("<br>" + document.form1.product[0].value);
document.write("<br>" + document.form1.product[1].value);
document.write("<br>" + document.form1.product[2].value);
</script>

<script language = "javascript">
function cp(){
document.write("You selected item: " + document.form1.product.value);
}
</script>