du kan prova
//json is the json you have recieved in the success handler
$("#engine").empty();
$.each( json, function( index, item ) {
$("<option/>",{value:item,text:item}).appendTo("#engine");
});
du kan prova
//json is the json you have recieved in the success handler
$("#engine").empty();
$.each( json, function( index, item ) {
$("<option/>",{value:item,text:item}).appendTo("#engine");
});