var Data = [ {id_list:1, name:'Nick', token:'312312'}, {id_list:2, name:'John', token:'123123'} ] var index = Data.map(function(e) { return e.name; }).indexOf('Nick');