|
-
Aug 31st, 2001, 01:16 PM
#1
Thread Starter
Addicted Member
Dynamically Changing Selectbox
I have two select boxes. One is just like a combo box and the other has a set size. Now what I want to do is have the user select the first box, and then the choices in the second box will change depending on which choice is made in the first box (if that makes sense).
-
Aug 31st, 2001, 02:11 PM
#2
Black Cat
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Aug 31st, 2001, 02:48 PM
#3
Thread Starter
Addicted Member
Hey thanks, that did help but I'm running into some other errors.
Changing the text works if the Option already exists, is there a way I can like, add item depending on how big my list is? I'm doing this.
activeFields.options[0].value = "valTest";
activeFields.options[0].text = "txtTest";
alert ("text=" + activeFields.option[0].text)
and that works unless I change it so that active fields doesn't have any initial options. is there a snippet of code that will let me add options as needed to a select list?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|