• Post Reply Bookmark Topic Watch Topic
  • New Topic

two values with one checkbox  RSS feed

 
J learner
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This is regarding how can i get two values with one check box...

present scenario is:

Sub Testbox checkbox

a we have a textbox here we have a checkbox here
b we have a textbox here we have a checkbox here
c we have a textbox here we have a checkbox here
d we have a textbox here we have a checkbox here

now once the user clicks on the checkbox he should get the value stored in checkbox i.e, sub and testbox,i am able to get sub but not able to get testbox values,how should i associate testbox and checkbox.

here testbox is the values we need to store in db where sub name is a , b..or c resp.

can anyone help me on this.

thanks
J learner
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"J learner", please check your private messages for an important administrative matter.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!