Stop table row toggle upon clicking link
问题 What I am trying to do is to stop the toggling when someone clicks on a url link in the table row. $(document).ready(function () { $("#report tr:odd").addClass("odd"); $("#report tr:not(.odd)").hide(); $("#report tr:first-child").show(); $("#report tr.odd").click(function () { $(this).next("tr").toggle(); $(this).find(".arrow").toggleClass("up"); }); //$("#report").jExpand(); }); The url link sits right on the same toggling row which in turn when someone clicks the url link, it also toggles