Solved

Linked List Boxes in Table

Posted on 2004-10-12
3
207 Views
Last Modified: 2008-01-09
My current project consists of a six column table.  The first four columns each will contain a drop down list.  The lists are linked to each other.  (When the user selects an entry in column one, it will allow selection of entries in column two IF the column two entries are linked to column one.  Etc, etc to column 4.)  The last two columns will contain command buttons.  Something like this...

    |Col-1|Col-2|Col-3|Col-4|Col-5|Col-6|
    | list   | list  | list  | list   | Cmd| Cmd|

I am in the investigation phase; researching the various techniques and structures needed to do the above.  So, my questions are fairly general in nature...

* Are there examples or tutorials or helps for the above structure, or elements of it,
   I could review?

Initially, I think my approach will be to "simply" place the lists inside the table cells, and add the linking code, and to add the command buttons also within their own table cells.  So, I don't think this will require any special tricks or techniques.  Right?
0
Comment
Question by:LarryAndro
3 Comments
 
LVL 13

Assisted Solution

by:cLFlaVA
cLFlaVA earned 50 total points
Comment Utility
Sounds straightforward enough.  Put each select box in its own <td> and put each command in its own <td>.

Then add code in the form of a function between your <head></head> tags that will "link" as you say, the select boxes.
0
 
LVL 3

Accepted Solution

by:
alskdj80 earned 200 total points
Comment Utility
this page might have some more info on your "linked" drop down boxes: http://www.quirksmode.org/js/options.html
0
 
LVL 1

Author Comment

by:LarryAndro
Comment Utility
Thanks, cLFlaVA...  knowing I'm not going down a wrong path in my overall approach is great.
Thanks, alskdj80... the link you gave me is exactly what I need to get my flying!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now