Ricky158
06-16-2007, 05:33 AM
Hi, I need help trying to tie together an idea of mine that involves multiple select boxes. It works basically identically to the way eBay allows sellers to choose a category for their item by narrowing down their item with multiple select boxes.
My multiple select box looks like this, so far:
<select multiple="multiple"><option>Option1</option><option>Option2</option></select>
Ideally, there will be three of these. The trick I need help with is:
a) making it so it's not really a *multiple* select box, but still looks like one. I want the user to see the options in the multi-line format as-is, but I only want them to be able to pick one at a time.
b) when an option is selected, the subsequent multiple select box is enabled and loaded with the data of the selection (a subset). The data of the second box is determined by the selection in the first box. This box will not be enabled or populated until a selection is made.
c) a way to obtain the information from a file stored on the directory. The info in this file will be the contents of the select box.
Thanks for any assistance.
My multiple select box looks like this, so far:
<select multiple="multiple"><option>Option1</option><option>Option2</option></select>
Ideally, there will be three of these. The trick I need help with is:
a) making it so it's not really a *multiple* select box, but still looks like one. I want the user to see the options in the multi-line format as-is, but I only want them to be able to pick one at a time.
b) when an option is selected, the subsequent multiple select box is enabled and loaded with the data of the selection (a subset). The data of the second box is determined by the selection in the first box. This box will not be enabled or populated until a selection is made.
c) a way to obtain the information from a file stored on the directory. The info in this file will be the contents of the select box.
Thanks for any assistance.