RICK wrote:
> Perhaps some example code would help.
> Try running the attached hta, and see if that's what
you had in mind.
cheers, jw
<HEAD>
<HTA:APPLICATION>
</HEAD>
<HTML>
<BODY>
<SCRIPT LANGUAGE="VBScript">
Sub ReplaceDropDown()
' MsgBox("onClick Detected")
sNewDropDown = "<select id=newEntries size=1 style='width:250px'>" _
& "<option selected> Select a SuperModel </option>" _
& "<option>Paula Pestova</option>" _
& "<option>Elle MacPherson</option>" _
& "<option>Heidi Klum</option>" _
& "</select>"
Window.Document.GetElementByID("dropdown").innerHTML = sNewDropDown
End Sub
</SCRIPT>
<center>
<span id=dropdown>
<select id=entries size=1 style='width:250px'> _
<option selected> Select a printer </option>
<option>\\mail\HP 4000 - Admissions </option>
<option>\\mail\HP 4000 - Business Office</option>
<option>\\mail\HP 4100 - Clinical (Implants)</option>
</select>
</span>
<BR><BR><BR><!-- space down a bit -->
<button id=but0 onclick='ReplaceDropDown()' style="width:150">Replace Dropdown</button>
</center>
</BODY>
</HTML>