countryboy
Programmer
The following JScript adds an array of options to a select box (provided the select box is not in a form):
<code>for (u=0; u<Count+1; u++)
if (u==0) {
var oOption=document.createElement("OPTION"
oSelect.options.add(oOption);
oOption.innerText = (tempArray);
oOption.value = (tempArray);}</code>
Is it possible to dynamically add an array of options to a form select box using VBScript?
<code>for (u=0; u<Count+1; u++)
if (u==0) {
var oOption=document.createElement("OPTION"
oSelect.options.add(oOption);
oOption.innerText = (tempArray);
oOption.value = (tempArray);}</code>
Is it possible to dynamically add an array of options to a form select box using VBScript?