function SetOptionSelect()
{
var tmpebidstr="";
for(var i=0;i<form1.selEmployee.options.length;i++)
{
//form1.selEmployee.options[i].selected=true;
tmpebidstr=tmpebidstr+","+form1.selEmployee.options[i].value;
}
if(tmpebidstr!="")
{
tmpebidstr=tmpebidstr.substring(1);
}
window.opener.document.getElementById("hidden1").value=tmpebidstr;
window.opener.Reloade();
closewin();
}
function closewin()
{
window.opener=null;
window.open('','_self');
window.close();
}
{
var tmpebidstr="";
for(var i=0;i<form1.selEmployee.options.length;i++)
{
//form1.selEmployee.options[i].selected=true;
tmpebidstr=tmpebidstr+","+form1.selEmployee.options[i].value;
}
if(tmpebidstr!="")
{
tmpebidstr=tmpebidstr.substring(1);
}
window.opener.document.getElementById("hidden1").value=tmpebidstr;
window.opener.Reloade();
closewin();
}
function closewin()
{
window.opener=null;
window.open('','_self');
window.close();
}
function Reloade()
{
form1.submit();
}做了一个提交