• Post Reply Bookmark Topic Watch Topic
  • New Topic

retrieve a row in a table  RSS feed

 
Suman Dass
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have generated a table dynamically of 4 columns of which the first is a checkbox. Now I want to retrieve a row (remanining 3 elements) based on the checkbox selection. How can I do it?
 
Roan Nicolas
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thinking out loud:
You could try placing value in the hidden field with an iterated number in the end. For example:
<input type="hidden" name="firstrow<%=i%> value="test">
Then upon clicking the choosing the checkbox, add a snipet of code that retrieves the same value of iterated number of the hidden field with that of the checkbox.
Hope that makes sense.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!