Add onClick handler to table rows and return column values of clicked rows using both jQuery and Javascript
Author: Julian Hansen, January 2017
Click the cells of the two tables to see the result
jQuery Table
Alfreds Futterkiste
Germany
Berglunds snabbkop
Sweden
Island Trading
UK
JavaScript Table
Alfreds Futterkiste
Germany
Berglunds snabbkop
Sweden
Island Trading
UK