This page is for custom version of tableHover. I added 'onSelect' option to it. You can write click event handler easily like following:
$(document).ready(function() { $('#sample').tableHover( {onSelect: function(x){ alert($(x).filter(".name").text() + " is selected")} }); });
Name | Type | Maker | Spec |
---|---|---|---|
Fit | Automobile | Honda | 1.5L VTEC(broken by traffic accident) |
Civic | Automobile | Honda | 1.3L iVTEC+IMA |
LGS-GMT | Bicycle | Luigano | 26inch 24gears |
XR-250 | Motorcycle | Honda | 250cc Off-Road |
Twister | Inline skate | Rollerblade | 80mm * 4wheels |
ZX5 | Inline skate | Bont | 84mm * 5wheels |