473,473 Members | 1,881 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Cascading drop down menus - help please !

Ian
Can anyone help me with a problem I have. What I need to be able to do
is have the user presented with a single dropdown menu within a form
using HTML <SELECT> and <OPTION>. Once they choose a particular option I
then want another dropdown to appear alongside it with a list of options
that are dependent on what was selected in the first dropdown. Then I
want the same thing to happen a third time, i.e when the user selects an
option from the second dropdown a third one appears on the screen to the
right of it and then whatever the user chooses from this final dropdown
is used in the form submission.

Because I am a complete beginner it would be really useful to have an
actual code example that I could then modify with my own options.

Would really appreciate help with this.

Jul 23 '05 #1
2 4290
Ian wrote:
Can anyone help me with a problem I have. What I need to be able to do
is have the user presented with a single dropdown menu within a form
using HTML <SELECT> and <OPTION>. Once they choose a particular option I
then want another dropdown to appear alongside it with a list of options
that are dependent on what was selected in the first dropdown. Then I
want the same thing to happen a third time, i.e when the user selects an
option from the second dropdown a third one appears on the screen to the
right of it and then whatever the user chooses from this final dropdown
is used in the form submission.

Because I am a complete beginner it would be really useful to have an
actual code example that I could then modify with my own options.

Would really appreciate help with this.


Matt Kruze has a good example here:

<URL:http://www.mattkruse.com/javascript/dynamicoptionlist/>
--
Rob
Jul 23 '05 #2
Ian
On Mon, 11 Apr 2005 22:54:26 GMT, RobG <rg***@iinet.net.auau> wrote:
Ian wrote:
Can anyone help me with a problem I have. What I need to be able to do
is have the user presented with a single dropdown menu within a form
using HTML <SELECT> and <OPTION>. Once they choose a particular option I
then want another dropdown to appear alongside it with a list of options
that are dependent on what was selected in the first dropdown. Then I
want the same thing to happen a third time, i.e when the user selects an
option from the second dropdown a third one appears on the screen to the
right of it and then whatever the user chooses from this final dropdown
is used in the form submission.

Because I am a complete beginner it would be really useful to have an
actual code example that I could then modify with my own options.

Would really appreciate help with this.


Matt Kruze has a good example here:

<URL:http://www.mattkruse.com/javascript/dynamicoptionlist/>


That's great, just what I was looking for. Thanks.

Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Nanos | last post by:
For the form I need to create drop down select with say five different options. There also should be possibility to enter own option if one is not listed. How can I do it.? Thank you in advance...
3
by: KK | last post by:
Drop-down menus are the hottest thing since Wonder Bread but . . . 1. Alot of people put them in the they-look-nice-but-you-cant-code-them-right-so-they-always-look-messed-up category (a la...
10
by: Haines Brown | last post by:
I've implemented the horizontal drop down menu discussed recently in this newsgroup, and it works nicely under Galeon and Mozilla, but not IE 5.0. Here are the problems: Under IE 5.0, the...
7
by: Marci | last post by:
I found this script for cascading menus, however, I cannot reach the author to solve the bug I am having when I add a second menu to it. My problem is this: If I click on the first link, the...
1
by: JMosey | last post by:
Not sure if this has been covered ( a google search came up pretty bare). I have a site that: - has multi-level cascading menus - floats center of the browser window - Will have fairly heavy...
2
by: pantagruel | last post by:
I have an old web application I did where browsers with dynamic capabilities received a drop down menu on the top of the page and a fold out on the left hand side of the page and non-dynamic...
3
by: Andrew | last post by:
Hello, friends, I was asked to implement a .aspx page with drop down menus. When a mouse pointer moves over a menu bar, a drop down list containing sub-menus will show up. Thus a user may select...
9
by: Edwinah63 | last post by:
Hi everyone, Please let there be someone out there who can help. I have two BOUND combo boxes on a continuous form, the second being dependent on the first. I have no problem getting the...
1
by: arjun.zacharia | last post by:
Hi everyone, i want to implement a cascading menu in my application but do not want to reinvent the wheel. is there anybody here who might have written such stuff or could help me with somem...
5
by: Angus | last post by:
I have had a look at http://javascript.internet.com/navigation/cascade-menu.html Which is roughly what I want to do. Roughly the menu looks like this: Menu #1 Menu #2 Menu #3 Menu #4
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.