数组.splice($.inArray(元素,数组),数量); 例: var arr = [0,1,2,3]; arr.splice($.inArray(2,arr),1); 结果:arr =[0,1,3]