I have this array with several id's and heights.
How can i get a hight of a specific id given?
like get the value of review-1 from the array? which is "500px"?
thanks.
ar=[];
ar.push({"id":"reiew-1","height":"500px"});
$.each(ar,function(index,value){
alert(value.height); // gets all the heights
});