你说的列表是怎么样的列表呢
如果是<table>标签的列表 
或者<select >的列表
给你点提示吧 无论哪种列表当点击按扭时调用的函数 关键是在函数里获得选中列表的index
table 里获得index 是: obj.rowIndex  
select 里获得index 是: this.selectedIndex
然后根据获得index删掉index的一个列表
table 里可以用:deleteRow(index)
select 里好象是remove()方法 具体你可以参考DHTML

解决方案 »

  1.   

    function MoveToEnd()
    {
    var count = document.all.lstStart.options.length;
    for( var i=0; i<count; i++)
    {
    if ( document.all.lstStart.options[i].selected )
    {
    var newOption = document.createElement("option");
    newOption.text = document.all.lstStart.options[i].text;
    newOption.value = document.all.lstStart.options[i].value;
    lstLast.options.add(newOption);
    }
    }
    while((k = count- 1)>=0 )
    {
    if (document.all.lstStart.options[k].selected == true)
    {
    document.all.lstStart.options.remove(k);
    }
    count = count -1;
    }
    }
      

  2.   

    删除
    lstStart.options.remove(lstStart.selectedIndex)