Trigger instantsearch by setting input value dynamically
-
Everything is working fine with this plugin. The issue what I am facing is how to trigger search by setting the value in instantsearch file.
I am trying to setup the value and doing trigger search like this
$('#algolia-search-box .ais-search-box--input').val('amazon'); $('#algolia-search-box .ais-search-box--input').keypress(); $('#algolia-search-box .ais-search-box--input').keyup(); $('#algolia-search-box .ais-search-box--input').blur(); $('#algolia-search-box .ais-search-box--input').trigger('click');
But none of them are working fine. So can someone tell me how to make this?
Any help and suggestions would be really appreciable.Kind Regards,`
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Trigger instantsearch by setting input value dynamically’ is closed to new replies.