Web Hosting, Design, & Coding forum

General discussion

help with option select box

by wo ma / July 22, 2005 12:38 AM PDT


I am very new to html (just learnt how to use html-kit) and wonder if anyone could help me resolve an issue.

I am trying to create a html page with 9 option select boxes, each populated by array of figures (1 to 9). What i would like to do but don't know how or if it is at all possible is make the page such that once a value is selected in the first option select box, then the other boxes are populated with values less the selected one. E.g. if 1 is selected in the first box, then the values shown in the second box will be 2 - 9 or if 2 is selected then other boxes are populated with values 1, and 3 - 9, and then this is repeated with the 2nd box and so forth.

Is this at all possible (it is certainly very complex to me). If possible how might i achieve this.


Discussion is locked
You are posting a reply to: help with option select box
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: help with option select box
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
One Word
by xangelo / July 25, 2005 4:21 AM PDT


I believe what you are trying to do is if you select one number in one box, then the other box will only display the other numbers. Not the one that was selected.

Now I don't know the exact syntax on this, but I do know that it is possible in javascript and as far as I know not HTML.

Collapse -
any more info
by wo ma / July 29, 2005 11:26 AM PDT
In reply to: One Word

thnx xangelo.

Yes thats what i want. I found something similar on www.js-examples.com, however this only works such that you have to select first from the top row and the other rows are then populated, however i would like for it be such that each row initially has all the array values and the first selection can be from any row then the rest dynamically reload minus the selected value etc.

You say it is possible with javascript but not in html, whats the alternative, and could you suggest what syntax you know - it would be a good starting point.

Collapse -
by xangelo / July 29, 2005 12:27 PM PDT
In reply to: any more info

As far as I know, javascript would be the only way to do it.. As I said before I dont know the exact syntax, but I would be more than happy to help find it for you.

Stay Tuned Silly

Popular Forums
Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?