//父文件
<script language="javascript">
<!--
function openWin(url)
{ var fname= window.showModalDialog(url,window, "dialogHeight:440px;dialogWidth:400px;center:yes;status:no;resizable:no;scrollbars=yes;");
if(fname)
{
var str = new Array();
str = fname.split(",");
Form1.TB_StaffName.value=str[0];
Form1.TB_SearchStaffName.value=str[0];
Form1.TB_StaffID.value=str[1];
}
else
{
Form1.TB_StaffName.value=Form1.TB_StaffName.value;
}
}
-->
</script>
//子文件
<INPUT type="radio" id="mySelect" name="mySelect" οnclick="window.returnValue='<%# DataBinder.Eval(Container.DataItem,"staff_name") + "," +DataBinder.Eval(Container.DataItem,"staff_id")%>';window.close();">
showModalDialog传递多个参数
最新推荐文章于 2015-05-14 17:33:00 发布