JS - Predefined search value for input box

Hello,

I would really love to click on a predefined value to complete the inputbox and start the search in Javascript.
Actually when I try to change the value with Javascript DOM or jQuery, the search didn’t started.

What should I do?

Does a search is possible in Javascript like :

search.after("iPhone"); 

It would be so good that this command start the search on the already initiated search input.

Thank you!
Alexis Gagliano
UNV asbl

Hey Alexis,

First a little question for clearing up. What method are you currently using to do this search, is it with InstantSearch.js or something else?

Thanks

Hi,

Instantsearch.js yes.