• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to display the selected value along with other values in dropdown  RSS feed

 
kerthi Joe
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my code.



FinalList will be,

finalList = {AAA, Chipshooter}, {BBB,General}, {CCC, Thru-Hole};

In the select dropdown I have to show all the values with the one from the 'finalList' as 'selected'.

First row should be AAA, And dropdown should display 'Chipshooter' value along with all the remaining values in the dropdown.
 
kerthi Joe
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any body there to answer my query?
 
Stephan van Hulst
Saloon Keeper
Posts: 7969
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand what you're trying to do. You're creating a dropdown for each item, what do you want to display in the dropdown?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!