aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Populate A Select List By Clicking Drop Down Values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Populate A Select List By Clicking Drop Down Values" Watch "Populate A Select List By Clicking Drop Down Values" New topic
Author

Populate A Select List By Clicking Drop Down Values

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1391
I have a need for populating a select list by choosing elements from a drop down list.

Can this be done using jquery?

the following will not work:

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60063
    
  65

Please read ItDoesntWorkIsUseless. What's not working?

The basic concept is sound.

If you have a copy of jQuery in Action (2nd Ed), chapter 8 has specific examples of doing just that. Even if you don't have the book, the example code is a free download.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1391
Bear Bibeault wrote:

The basic concept is sound.



Thanks Bear sounds almost like a compliment.

But really thanks I got it figured out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Populate A Select List By Clicking Drop Down Values
 
Similar Threads
index of option
populating textarea from dropdown box selection
Populating a value based on the option selected in the dropdown
dynamic drop down list values
Retaining javascript values in jsp