select列表内容交换的js实现代码_表单特效
来源:动视网
责编:小采
时间:2020-11-27 20:45:59
select列表内容交换的js实现代码_表单特效
select列表内容交换的js实现代码_表单特效: function move(formObj,toObj){ if(formObj.selectedIndex != -1){ toObj.add(new Option(formObj.options[formObj.selectedIndex].text,formObj.options[formObj.selectedIndex].value)); formObj.remove(formObj.selectedIndex); //var index = formObj.s
导读select列表内容交换的js实现代码_表单特效: function move(formObj,toObj){ if(formObj.selectedIndex != -1){ toObj.add(new Option(formObj.options[formObj.selectedIndex].text,formObj.options[formObj.selectedIndex].value)); formObj.remove(formObj.selectedIndex); //var index = formObj.s
select列表内容交换的js实现代码_表单特效
select列表内容交换的js实现代码_表单特效: function move(formObj,toObj){ if(formObj.selectedIndex != -1){ toObj.add(new Option(formObj.options[formObj.selectedIndex].text,formObj.options[formObj.selectedIndex].value)); formObj.remove(formObj.selectedIndex); //var index = formObj.s