I have this code at the moment:
我现在有这个代码:
for (var i = 0; i < secname.length; i++) {
description = secname[i].description
var price = secname.map(function(x){ return x.price_breakdown.display_charges.price; });
var max = Math.max.apply(null, price);
var min = Math.min.apply(Math, price.filter(Number));
$("#tabledirect").prepend("<tr><td><img id='theImg' src='/assets/-logo.png'/></td><td><b>" + description + "</b></td><td><b>Available</b></td><td><b>" + min + "</b></td><td><b>Booking Fee Included</b></td><td><b>" + price +"</b></td><td><b>" + button + "</b></td></tr>");
}
f