$(document).ready(function(){
var arr = ["2","4","6","8","10"];
var index = ["1","5","9"];
var arrIndex = index.map(function(value){
return arr.indexOf(value);
})
console.log(arrIndex);
})
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
1
solved array value by jQuery