Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retrieve a row in a table

 
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic