SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Resource

Linking List Boxes

Categories...
Client User Group
Write Once!
Language
JavaScript
Product
IE4, NS3, NS4
Task
Form Enhancement
Technology
Intrinsic Controls

Sponsored Links
Developer's Paradise : Inside Technique :
Linking List Boxes
Submission by SiteExperts Staff

Go to the resource:
Linking List Boxes

Add to Assistant

Short Description
A cross-browser technique for linking multiple list boxes together.

Long Description
A cross-browser technique for linking multiple list boxes together. This allows you to make it easy to drill into categories of information. This technique includes a good demonstration that makes it easy to locate articles on InsideDHTML.

Author
Scott Isaacs
Submission URL
http://www.SiteExperts.com/tips/elements/ts20/page1.asp
Submission Date
Aug 27,1998
 

Discussion and Rate this Resource
Overall Rating: 4.6

GeorgeF on Jul 13, 2006 at 11:52:38 AMRating: 5

Just came across this chunk of code and it still holds up very well.  The only question I have is, does anyone know how to get one of the items to be 'selected' from an OnLoad event?  For example I would like 'Fruit' selected when I get to this page (along with one of the corresponding slections - like 'Orange' - in the secondary list box).

Any advice?

bhais on Jul 27, 2000 at 1:27:58 PMRating: 5
This article really helped.  I too had the problem with netscape making the drop-down box show only 1 item.  I got around this by ensuring I never had less than 3 items in the combo box (I just filled it with blank option tags).  Then I used some simple form validation to ensure that they didn't select a null value.  Not the best solution - but it worked.
gdawg1992 on Jul 14, 2000 at 1:10:33 PMNo Rating
Do you have the code for this example in one file? I have tried to get this to work and I am getting eroors from Netscape relating to include files.
offill on Jun 8, 2000 at 9:13:04 AMRating: 4
See June 4 question. my email is:
offill@ithink.net THANKS!
offill on Jun 4, 2000 at 4:44:27 PMRating: 4
I'm realatively new to scripting and love the results of this script, but am having trouble getting list two to generate information to list three. Wondering if anybody knows of a "debugger" or some other way tofigure out what I'm doing wrong?

More Ratings/ Comments


To rate and comment on a resource, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password

Copyright © 1997-2008 InsideDHTML.com, LLC. All rights reserved.