Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › asp_results_show broken › Reply To: asp_results_show broken
December 16, 2021 at 10:02 am
#35973
Keymaster
Oh okay, I see the issue now.
The code is not correct, you are executing the event on the document handler, while it should be on the search container:
jQuery(".asp_main_container").on("asp_results_show",function(event, request, settings) {
alert("hello");
});
This will work.