Create application.js

This commit is contained in:
2017-03-22 11:08:14 -04:00
committed by GitHub
parent 66d2bf4aa4
commit c0d3f64d82

View File

@@ -0,0 +1,9 @@
$(function() {
$("select#issue_customer_id").on("change", function() {
$.ajax({
url: "/filter_vehicles_by_customer",
type: "GET",
data: { selected_customer: $("select#issue_customer_id").val() }
});
});
});