Javascript Code:
Expand|Select|Wrap|Line Numbers
- var sb = document.getElementById('selectedfirstlast');
- var anOption = document.createElement('option');
- anOption.innerText = res[2];
- anOption.value = res[3];
- sb.appendChild(anOption);
[HTML]
<select id="selectedfirstlast" name="selectedfirstlast" multiple></select>
[/HTML]