4 <select id=
"myList" size=
"10" multiple
></select>
6 function populateList()
8 var myList
= document
.getElementById("myList");
11 for (var ii
= 0; ii
< 20; ii
++) {
12 item
= document
.createElement("option");
14 item
.appendChild(document
.createTextNode("Item #" + ii
));
15 myList
.appendChild(item
);