File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Assigning Key Values to Multiple Submit Buttons

 
John Olston
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can set a key value on each submit button. I have a table that contains
multiple submit buttons. When one of those submit buttons is clicked, I need to pass the key value of the submit button that will be used to call a business service to retrieve data for that key. Any ideas? Thanks.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33697
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John,
Have each submit button call a javascript function with a distinct value. That function can set a hidden field with your key value and the hidden field is part of the form.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic