这是个左右选择的标签,多了就不说了,我发现,当listValue设成有“0”的时候,就会被放弃选择,跟它的js原码到了这里就嘎然而止,如下:function moveOptions(objSourceElement, objTargetElement, toSort, chooseFunc) {

alert("move options - start");
    var aryTempSourceOptions = new Array();
    var aryTempTargetOptions = new Array();
    var x = 0;

    //looping through source element to find selected options
    for (var i = 0; i < objSourceElement.length; i++) {
        if (chooseFunc(objSourceElement.options[i])) {
alert("the option" + objSourceElement.options[i].value + " is the target");
            //need to move this option to target element
            var intTargetLen = objTargetElement.length++;
            objTargetElement.options[intTargetLen].text =   objSourceElement.options[i].text;
            objTargetElement.options[intTargetLen].value =  objSourceElement.options[i].value;
        }
        
        else {
alert("the option" + objSourceElement.options[i].value + " is wrong");         
            //storing options that stay to recreate select element
            var objTempValues = new Object();
            objTempValues.text = objSourceElement.options[i].text;
            objTempValues.value = objSourceElement.options[i].value;
            aryTempSourceOptions[x] = objTempValues;
            x++;
        }
    }我不知道chooseFunc这个东西是什么,反正就是在这里被过滤掉了,我的神啊,上帝以及老天爷啊,谁能告诉我该怎么解决啊
不要告诉我说value直接拿字符串哦,正常的value都是数字的,就是流水号,取得是id,1——9都没问题,数字里有0就死翘翘,小弟在线等,大家帮帮忙