Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Populate A Select List By Clicking Drop Down Values

 
Steve Dyke
Ranch Hand
Posts: 1616
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Steve Dyke
Ranch Hand
Posts: 1616
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:

The basic concept is sound.



Thanks Bear sounds almost like a compliment.

But really thanks I got it figured out.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic