[jQuery] noob: table row level link and hover
I need to have each table rows point to different link. I am looking
at table striping and how hover works in 15daysofjquery.com.
http://15daysofjquery.com/table-striping-made-easy/5/
I need to make the whole table row clickable and should take the user
to a different link on the site.
How do I do this in jquery?
For example table is as follows:
<table border="1">
<tr><td>Row 1 Cell 1</td><td>Row 1 Cell 2</td></tr>
<tr><td>Row 2 Cell 1</td><td>Row 2 Cell 2</td></tr>
</table>
Row1 link: site.com/tutorial/1
Row2 link: site.com/tutorial/2 and so on.