Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function filterTankstellen(tankstellen, kraftstoff){
- var preise = [];
- for(var i = 0; i < max; i++){
- $(tankstellen[i].prices).each(function() {
- if(this.type == kraftstoff) {
- console.log(tankstellen[i].id);
- var tanke = {tankstellen[i].id : this.price};
- preise.push({i : this.price,});
- };
- });
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement