A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Dynamic combo box
Joined: Dec 15, 2006
Feb 23, 2007 04:58:00
i my application i need to select two values
for example name of country and state.
if i select name of country from first then automatically
only names of states in that country should come in the second combo
how can i achieve this
Joined: Dec 11, 2004
Feb 23, 2007 05:14:00
This is a very common question.
There are several approaches to doing this.
All have been discussed at length.
When searching, you'll probably have better luck if you use the term "select list". Combo boxes do not exist in HTML.
How to ask a question...
Simple Servlet Examples
Author and ninkuma
Joined: Jan 10, 2002
Feb 23, 2007 09:19:00
A term for this that I see bandied about often is "dependent dropdowns".
Asking smart questions
Books by Bear
Joined: Apr 27, 2006
Feb 26, 2007 04:27:00
or you can search "double combo".
I agree. Here's the link:
subject: Dynamic combo box
boolean need_ of_ vbscript_in_jsp()
How to insert at runtime using AJAX
Populating the ComboBox by selecting another
Struts1.3 with ajax : i want dynamic select box country and state and city
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014