Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 25th, 2003, 02:39 PM
Authorized User
 
Join Date: Jul 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default dropdown menu population with ONCHANGE

i have one select statment with a list of choices and another that is empty when the page loads. What i want is when the user selects one option from the first list i want the other list to be populated with others option that have to do with the first choice. so i have the first list it named company and the other one is contracts. When the user selects a company i want the contracts list to be populated with the contracts for the company. i'm trying to use the onchange but i can seem to get anything to work. Any one have any ideas please help.:(
 
Old September 25th, 2003, 02:46 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You may find the following article interesting, as it describes exactly what you want:

http://www.atgconsulting.com/triplelist.asp

Cheers,

Imar




---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Clearing the Dregs from a Dropdown menu rit01 ASP.NET 2.0 Basics 1 September 11th, 2006 06:26 AM
Urgent help in dropdown menu vigneshb4u BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 0 January 10th, 2006 06:29 PM
Javascript Dynamic dropdown Menu itHighway Javascript How-To 0 July 24th, 2005 10:53 PM
Dropdown menu covered by floating object BoredPorkChop CSS Cascading Style Sheets 1 January 17th, 2005 04:56 AM
Two data items from a populated dropdown menu bear1138 Dreamweaver (all versions) 1 August 13th, 2003 09:52 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.