Thank you John.

I found an example at 4guysfromrolla.com, but it's too
complicated. I'll use a single drop-down, with the main
categories concatenated as bracketed items. Thanks :-)

Amrit Hallan
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Web Site Development - http://www.bytesworth.com
Copywriting and Copy Editing - http://www.amrithallan.com
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
WebDevE-Publication: [EMAIL PROTECTED]
Phones: 91-11-26955834; 91-9811625554


----- Original Message -----
From: "Jon Haworth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 27, 2003 6:02 PM
Subject: [wdvltalk] RE: Dynamic drop-downs


> Hi Amrit,
>
> > I have two drop-down boxes taking values from
> > two database tables. The content of the second
> > drop-down should dynamically changing according
> > to the selection made in the first.
>
> I don't have code for you in ASP, but here's a rough idea
of one way to do
> it (assuming you want to handle the updates client-side):
>
> Start off with the second combo box disabled, but
containing every possible
> choice (i.e. the entire set of sub-categories). Attach a
function to the
> OnChange event of the first combo box that enables and
then shows/hides
> options in the second.
>
> If you want to do it server-side, I think you may need two
forms on the same
> page - when the first is submitted, generate the second
based on the
> selection.
>
> Cheers
> Jon
>
> ____ • The WDVL Discussion List from WDVL.COM • ____
> To Join wdvltalk, Send An Email To:
mailto:[EMAIL PROTECTED]
>        Send Your Posts To: [EMAIL PROTECTED]
> To change subscription settings to the wdvltalk digest
version:
>     http://wdvl.internet.com/WDVL/Forum/#sub
>
> ________________  http://www.wdvl.com
_______________________
>
> You are currently subscribed to wdvltalk as:
[EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date:
3/17/2003


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to