,checkbox checd"/>

退出父窗口,window.opener.location, ,checkbox checd

  function chk(chk,id)
{ var oEvent = document.all(id); var chks = oEvent.getElementsByTagName("INPUT");
for(var i=0;  i<chk.leng,i++)
if(chks[i].type=="checkbox") chks[i].checked=chk.checked;
}


<!--#Include File="Js/EnDate.js"-->
  <script language="javascript">
   function RunBack()
   {
  
       var hourseid = document.getElementById("txthiddentHourseID").value;
    window.opener.location='Frame/main3.aspx?H_add=2&HourseID='+hourseid; 
    window.opener.focus();
    window.focus();
   }
     function closeall()
   {
     self.close();
   }
  </script>



原文地址:https://www.cnblogs.com/csj007523/p/1242668.html