js删除数组元素

一直老忘记,备份下:

var Index=list.indexOf(keyword);

list.splice(Index, 1);

posted @ 2014-01-21 10:10  Shikyoh  阅读(198)  评论(0编辑  收藏  举报