I'm using QuickSearchJS and it is working as expected until ajax call is made and then it doesn't work. I have tried 2 ways. Is there a way to use it with document.on function or any alternate way?
1st way
$(function () {
var qs = $('input#filterText').quicksearch('#a option')
});
2nd way:
$(document).ready(function() {
$(function () {
var qs = $('input#filterText').quicksearch('#a option')
});
});
According to the documentation you should use
qs.cache();after your ajax call.