I guess you want to use something like this: selecteID_2.options[lastindex] = selectID_1.options[selectID_1.selectedIndex]; selectID_1.options[selectID_1.selectedIndex] = null;You need to figure out how to get the lastindex of the destination(selectID_1) 'select'and those work should be processed in an javascript function which is the handler to the >> or << button.Good luck.
Sorry, I forgot something.selectID2.options[lastindex] = new Option() then: add the name and value to this new option (forgot how to, google it)then, delete from the source 'select':selectID1.options[selectID_1.selectedIndex]=nullGood luck.
selecteID_2.options[lastindex] = selectID_1.options[selectID_1.selectedIndex];
selectID_1.options[selectID_1.selectedIndex] = null;You need to figure out how to get the lastindex of the destination(selectID_1) 'select'and those work should be processed in an javascript function which is the handler to the >> or << button.Good luck.
then:
add the name and value to this new option (forgot how to, google it)then, delete from the source 'select':selectID1.options[selectID_1.selectedIndex]=nullGood luck.
如何让<select> list 显示水平滚动条?
3q very much:)