You can use indexOf : var imageList = [100,200,300,400,500]; var index = imageList.indexOf(200); // 1. You will get -1 if it cannot find a ...
確定! 回上一頁