setting parameter value using hyperlink

I have a jsp search page which shows records in an html table. In each table row I have the id of the record. I would like to use this id value as a hyperlink and set the value of a hidden field to the id and then submit the form. my idea is to open a new page showing all the details of the specified record by the id which is sent as a parameter from the search page as soon as I click the id hyperlink. I am trying to use javascript, but I am a bit green in this area. I would appreciate any help.

[507 byte] By [newtona] at [2007-11-26 22:49:46]
# 1
http://forum.java.sun.com/thread.jspa?threadID=5152588&messageID=9574075#9574075
appy77a at 2007-7-10 12:10:27 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...