How can I use the value of text field which I enter from GUI again for further computation? I have following piece of code
<tr>
<td> Enter Index Value:</td>
<td><input type="text" title="Enter Index#" id="ind" name="index"
size="2" maxlength="2" /></td>
<td><input type="text" name="bid" value=<%= lm.book_ids.get(a-1)%>
style="visibility: hidden" /></td>
<td><input type="text" name="brid" value=<%= lm.branch_id.get(a-1)%>
style="visibility:hidden" /></td>
<td><input type="text" name="cardno" value=<%= lm.cards.get(a-1)%>
style="visibility: hidden" /></td>
</tr>
I want to use the value of text field in place of 'a' which is an arbitrary java int variable.