Closed maathieu closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
This issue is closed because was marked as stale and had no activity. Thank you for your contributions.
Hello (again again),
There is a nice undocumented feature in your code (please document it!) allowing to add a javascript callback from the webpage's app.js code by setting parameter on_select_callback.
In my project I have had the need to add a function that is called when the "response" event is fired (this event is fired after the search request is complete, cf here ).
I added the following code to autocompleter-jqueryui.js to allow my code to hook a function to this event, by adding this:
It then becomes possible to add a response callback in app.js like this:
Many thanks in advance,