Jquery 点击绑定行 弹出详细页面

it2022-05-07  4

<script src="Script/jquery-1.4.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $("tr").click(function(event) { var row = jQuery(this) var firstParam = row.children("td:eq(0)").text(); var secondParam = row.children("td:eq(1)").text(); var navUrl = "CustomerDetails.aspx?cid=" + firstParam + "&cname=" + secondParam; top.location = navUrl; }); }); </script>

转载于:https://www.cnblogs.com/Look_Sun/archive/2010/03/10/1682357.html

相关资源:jQuery使用Layer弹出层插件闪退问题

最新回复(0)