点击绑定行 弹出详细页面 jQuery
<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>