File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get corresponding value from a dropdown

 
Antoniya Maydanova
Greenhorn
Posts: 1
  • 0
  • 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
Marshal
Posts: 33699
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Scarlet",
Please check your private messages for a message from me.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic