Uncaught TypeError: $.ajax is not a function
$.ajax({
url: "../php/loadAfterCar.php",
type: "POST",
data: query,
success: function (html) {
// body...
$('.select').html(html);
}
})
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>