I would check out: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref erence/objects/select.asp
It's all about SELECT elements and gives you all available methods needed to add(s) or remove(s) options. Hope that points you in the right direction. Chris Tifer PS - And yes, you will need to write out an array in JavaScript from your recordset. ----- Original Message ----- From: "LeGrand Decius" <[EMAIL PROTECTED]> To: "ActiveServerPages" <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 11:34 AM Subject: Re: Client Site Select Filter > Thanks for replying to my email. > > Select 1 has a list of categories (example Car Makes: Toyota, Honda, Ford, > etc...). Select2 has a list of subcategories (example Car Models: Camry, > Rav4, 4Runner, Land Cruiser, etc..) > > Based on the value from select1, I would like to populate select2. > > I can do this using server side scripts; however, I would prefer to run this > at the client side. > > I hope this answers your questions. > > Thank you. > ----- Original Message ----- > From: "Chris Tifer" <[EMAIL PROTECTED]> > To: "ActiveServerPages" <[EMAIL PROTECTED]> > Sent: Friday, November 08, 2002 11:18 AM > Subject: Re: Client Site Select Filter > > > > Can you explain more about what you expect when you say Filter? > > Does someone select an option, and depending on that option, it > > removes possible options in Select2? > > > > Chris Tifer > > > > ----- Original Message ----- > > From: "LeGrand Decius" <[EMAIL PROTECTED]> > > To: "ActiveServerPages" <[EMAIL PROTECTED]> > > Sent: Friday, November 08, 2002 11:06 AM > > Subject: Client Site Select Filter > > > > > > > Hello everyone, > > > > > > I have two select boxes on a page. How can I filter select2 based on > > value > > > of select1. > > > > > > I would like to keep this at the client level. > > > > > > I'm considering an array since both select boxes are populated from > > > recordset. > > > > > > Any example would be appreciated. > > > > > > Thank you in advance. > > > > > > > > > --- > > > You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] > > > To unsubscribe send a blank email to > > %%email.unsub%% > > > > > > > > > --- > > You are currently subscribed to activeserverpages as: > [EMAIL PROTECTED] > > To unsubscribe send a blank email to > %%email.unsub%% > > > > > --- > You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
