Open rdetert opened 4 years ago
Here's one way to do it.
$("*[data-behavior="autocomplete"]").each(function(){
var that = $(this);
that.AutoComplete({
url: function () {
that.siblings('[name=type]').first().val()
},
});
});
I'd like to get the text field that is being triggered so I can check for some other form fields to pass in to the AJAX request.
For example,
Is it possible?