<SCRIPT LANGUAGE="JavaScript">
function ToRight(){
var text = workForm.unEmployee.options[workForm.unEmployee.selectedIndex].text;
var value = workForm.unEmployee.options[workForm.unEmployee.selectedIndex].value;
var oOption = document.createElement("OPTION");
oOption.text=text;
oOption.value=value;
workForm.employee.add(oOption);
// unEmployee.remove(selectedIndex);
}
function getEmployeee(){
var html="";
for(var i=0;i<workForm.employee.size;i++){
html=html+"<input name=Company.Employee["+i+"] value=\""+workForm.emoloyee.options[i]+"\">";
}
alert(html);
document.getElementById("empHidden").innerHtml=html;
}
</SCRIPT>
function ToRight(){
var text = workForm.unEmployee.options[workForm.unEmployee.selectedIndex].text;
var value = workForm.unEmployee.options[workForm.unEmployee.selectedIndex].value;
var oOption = document.createElement("OPTION");
oOption.text=text;
oOption.value=value;
workForm.employee.add(oOption);
// unEmployee.remove(selectedIndex);
}
function getEmployeee(){
var html="";
for(var i=0;i<workForm.employee.size;i++){
html=html+"<input name=Company.Employee["+i+"] value=\""+workForm.emoloyee.options[i]+"\">";
}
alert(html);
document.getElementById("empHidden").innerHtml=html;
}
</SCRIPT>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货