Me again :)
Did I miss a part of the doc talking about how to invoke callbacks (ie. when someone has selected something in the dropdown)?
I'd like to do stuff in my page depending on which item was clicked but I can't for the life of me figure how to tie in to the instance?
I instanced my input like this:
autoCompleteInput = new Autocomplete('tileFilterText', {
srcType: "array",
useNativeInterface: false,
srcData: acTilesFilters
});
I then tried something like:
$('.aLim').on('click',function() {
alert('');
});
Then something like:
$(window).on(autoCompleteInput.selectValue,function() {
alert('');
});
but neither worked?
Thanks !
Me again :)
Did I miss a part of the doc talking about how to invoke callbacks (ie. when someone has selected something in the dropdown)?
I'd like to do stuff in my page depending on which item was clicked but I can't for the life of me figure how to tie in to the instance?
I instanced my input like this:
I then tried something like:
Then something like:
but neither worked?
Thanks !