lollorosso
Technical User
Hello,
I have a problem with combo boxes on a html page:
This code delievers a combo box:
<p><b> Example <select id="cbxExample">
<option> </option>
<script language="VBScript">
set opt = document.createElement("Option"
opt.Text = "test1"
opt.Value = "test1"
cbxExample.options.add opt
I am very new to VBScribt and thus I have no idea how to
1) set a default value for the combo box
2) use the result of the user's choice (when having used the combo box)
3) Prevent the user from not choosing anything
If anybody knows how to help me it would be great!
Thanks
Jan
I have a problem with combo boxes on a html page:
This code delievers a combo box:
<p><b> Example <select id="cbxExample">
<option> </option>
<script language="VBScript">
set opt = document.createElement("Option"
opt.Text = "test1"
opt.Value = "test1"
cbxExample.options.add opt
I am very new to VBScribt and thus I have no idea how to
1) set a default value for the combo box
2) use the result of the user's choice (when having used the combo box)
3) Prevent the user from not choosing anything
If anybody knows how to help me it would be great!
Thanks
Jan