A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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".
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:
- it saves me about five hours per week
subject: Dynamic combo box
Populating the ComboBox by selecting another
boolean need_ of_ vbscript_in_jsp()
How to insert at runtime using AJAX
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-2013