Displaying 1 result from an estimated 1 matches for "m000624".
Did you mean:
000624
2009 Apr 01
3
make a <tr>clickable
I would like to make an entire table row clickable so the user will be
directed to another url. If i was using hand written javascript i would
just add an onclick to the <tr>, but i want to use rails routes and to
be able to pass in parameters from ruby. What is the best way to
accomplish this?
<tr onclick = <%= link_to my_route_path %> > <td>content</td></tr>