Skip to content

Commit

Permalink
removed console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminleichter committed May 23, 2014
1 parent 074bb3b commit e5ea151
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions media/js/explore/dropdowns.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$.ajax({
dataType: "json",
url: "http://localhost:8000/api/dropdowns/products/"
})
.done(function( data ){
for(var i = 0; i < data.length; i++){
$("#country_product_select").append("<option value='"+data[i][1]+"'>"+data[i][0]+"</option>");
}
});

0 comments on commit e5ea151

Please sign in to comment.