New answers tagged


I suspect it's a problem with the scope of the variable vehicles which you seem to be using as a global variable and also as the parameter to your function which is called on success of the ajax call. Try replacing the lines: success: function(vehicles) { vehicles = JSON.parse(vehicles); with success: function(vehicleList) { ...

Top 50 recent answers are included