这是按钮的传参代码var $span = $('.fr-checkbox-checkon'); //获取选中的复选框 var $tds = $("td").has($span); //定义选中复选框的单元格 var $trs = $("tr").has($tds);for (var i = 0; i < $trs.length; i++) {var row = $("td:eq(0)",$($trs)).attr("row");//var num = $("td:eq(2)", $($trs)).find("div").html();var num = contentPane.getCellValue(2,row)//alert(num);var a = $("td:eq(3)", $($trs)).html();var b = $("td:eq(4)", $($trs)).html();var $iframe = $("<iframe id='inp' name='inp' width='100%' height='100%' scrolling='no' frameborder='0'>"); $iframe.attr("src", "${servletURL}?reportlet=重点任务维护(部门间)2/重点协调事项-单项查看.cpt&op=write"+"&num="+num);//var o = {title : "",width : 1800,height: 1000};FR.showDialog(o.title, o.width, o.height, $iframe,o); }