Make rows clickable
-
Hi, on my page http://www.transferpricing.wiki/transfer-pricing-country-matrix/ I would like to make the rows clickable and point the link that is included in the first column.
I’ve searched the forum and found and included this in the ‘custom javascript’ field of the page that has the tablepress shortcode, but it doesn’t work. Any help would be greatly appreciated!
<script type="text/javascript"> jQuery(document).ready(function($){ $('.tablepress-id-1').on( 'click', 'tr', function() { var $a = $(this).find('a').first(); if ( $a.length ) window.location = $a.attr('href'); } ); }); </script>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Make rows clickable’ is closed to new replies.