你的这句语法是正确的
偶昨天刚写了splice(N,1)就能在IE下运行
你看看是不是其他地方定义有问题

解决方案 »

  1.   

    list.splice(i,1);
    从索引i开始删除1个
      

  2.   

    你的ie版本多少 Array的push和splice  IE5都不支持!
      

  3.   

    我的是ie6.0  好象连ie7.0都不行  请教下解决的方法 急~~~~~~~~~~
      

  4.   

    晕 查出来了  我定了个全局数组rateword  下面那段for注释掉就好了  晕 啊  这算是什么问题啊?  不能这样写吗?
    var rateword=new Array();
    function ratewordback(obj){
    var index = rateword.length;
    for(j=0;j<rateword.length;j++){
    for(k=0;k<obj.length;k++){
    if(rateword[j].value==obj[k].value){
    obj.splice(k,1);
    }
    }
    }
    /*
    for(y=0;y<obj.length;y++){
    rateword[index] = obj[y];
    index++;
    }
    */
    .........
    }