The last few days I have been trying to implement a Live Search solution which should look, in essence, like the one here (which uses the Live Search plugin in EE1).
I’ve read a few topics about the Live Search Plugin and I found the ported EE2 version of Live Search (unofficial). Also found this blogpost but that solutions looks a little slow and I prefer a more flexible solution.
This is working now. However, I’m looking towards a more flexible solution.
Solution #2
I tried to find a solution based on the JSON plugin. I created a new template /search/json/ with a few products in JSON format. See output here.
Using the JSON Autosuggest jquery plugin I tried to trigger the requests with
$('#keywords').jsonSuggest({url: '/search/json/'});Unfortunately this does not work. Absolute URI, relative, with or without .htaccess.. I tested it without result. However, when I try to get results from the data in the demofile it does give me that data.
Is there someone who has a Live Search solution implemented in EE2 successfully?