问题2:如何控制<select>显示的宽度?用width好像不行……

解决方案 »

  1.   

    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.
      

  2.   

    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.
      

  3.   

    3q
    如何让<select> list 显示水平滚动条?
    3q very much:)