This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Yes, you can do this. How to do it depends on how you design the page. One way to do it would be to have the onclick event attached to the table row (i.e. the <tr>) set some hidden field to indicate which row was selected and then change the backgroud so that it looks highlighted. You could then have two different buttons, one to edit HR Details and the other to edit Salaray details. The onclick even for each of the buttons would change the action and then submit, just as you're doing now with the onclick event of the <tr> element. [ March 02, 2007: Message edited by: Merrill Higginson ]