You have JS event “asp_resuts_show” but you don’t have “asp_resuts_hide”. Can you please “asp_resuts_hide” on your next version? It’s very easy:
In jquery.ajaxsearchpro.js in hideResults function just add this at the bottom before exiting the function:
[code]
$this.n.c.trigger("asp_results_hide", [$this.o.id, $this.o.iid]);
[/code]
That will enable your users to do something like this:
[code]
jQuery(".asp_main_container").on("asp_results_show", function(ev, id, instance) {
console.log(‘Showing results’, ev, id, instance);
});
jQuery(".asp_main_container").on("asp_results_hide", function(ev, id, instance) {
console.log(‘Hiding results’, ev, id, instance);
});
[/code]