sms-pager/app/assets/javascripts/main.js
2015-09-20 22:30:44 -05:00

11 lines
203 B
JavaScript

function getPersonPhone(id, collection){
for(var i = 0; i < collection.length; i++){
if(collection[i].id == id){
return collection[i].phone;
}
}
}
$( document ).ready(function() {
});