jquery.unobtrusive-ajax.js looks like the following:
I would like to add the following event to the library so that I can use asyncRequest() function but in a different file.
$(document).on("change", "select[data-ajax=true]", function (evt) {
evt.preventDefault();
asyncRequest(this, {
url: this.href,
type: "GET",
data: []
});
});