How would I set up interactive drop down menus

K

Kamitha

I need to know how to set up a second drop down menu that will give different
options depending on what the previous ddm option was picked.
 
J

Jim Buyens

This depends somewhat on where the data in the drop-downs is coming from.

If the lists of items are short and hardly ever change, you can code them
into your page with JavaScript. The following page, for example, does this
for the Item and Topping drop-down lists.

http://www.interlacken.com/tricks/trick09/coffeebk.htm

If the list items are coming from a database, you have to code an onchange=
script that submits the page, and then some ASP or ASP.NET code that does the
database lookup and reloads the next list box(es).

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
Top