I’ve added the below to my site but some of the rows have links in them, although this works the table still opens. Is there a way I can stop the table from opening and it loads the href link straightaway?
Hi, just add the following event handler:
$('#report a').click(function(event) {
event.stopPropagation();
});
This will prevent the click-event from bubbling up the DOM tree, thus $('#report tr').click()
will never get fired and that next row won’t open.
Thank you, that works perfectly
1 Like
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.