【发布时间】:2014-01-09 01:32:14
【问题描述】:
我要做的是在有人点击表格行中的 url 链接时停止切换。
$(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();
});
url 链接位于同一切换行上,当有人单击 url 链接时,它也会切换我试图停止的行。有关如何执行此操作的任何指示?
【问题讨论】:
-
你能把 html 贴出来
-
请张贴 html,说明要切换的内容、想要切换的内容和不想切换的内容,单独的代码没有意义
标签: javascript jquery togglebutton