This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Get corresponding value from a dropdown  RSS feed

 
Antoniya Maydanova
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a little (I hope) problem.
I have a dropdown box, populated by a DB. It shows for example "number1,number2, name", but I want it to hold only the numbers, because that is the real value I put into the DB, the name is only to make things clear. I want the name to show near the box and it should change everytime the user select value from the dropdown. I tried getting the value by script, but I want the name. Here is part of the code:



Thank you in advance
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36396
453
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Scarlet",
Please check your private messages for a message from me.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!