I follow this url.
https://getsatisfaction.com/apperyio/...
I done some mistake but i can't understand it what is the mistake??
how to do auto complete ?I do it as per my knowledge please help me
I follow this url.
https://getsatisfaction.com/apperyio/...
I done some mistake but i can't understand it what is the mistake??
how to do auto complete ?I do it as per my knowledge please help me
Hi Pritu,
How do you save a variable 'mySuggestions'? You would need to save a service response array in localStorage. If you need a search by 'SchemeName' value, run this code on Search service Success event:prearr = new Array();
$(data).each(function(){ arr.push($(this)[0].SchemeName); })
localStorage.setItem("mySuggestions", JSON.stringify(arr));/pre
thnks it working but how to show a list when i write in input box
Pritu,
Follow the URL you followed
https://getsatisfaction.com/apperyio/... See my first comment please.
I follow that step but not working it
Hello! Please check errors in console. Verify you've done everything as shown here https://getsatisfaction.com/apperyio/...
i follow all your step that in your first comment in url
https://getsatisfaction.com/apperyio/...
Hi Pritu,
On Input event you pass to autocomplete a string, not an object. String are store in localStorage. You should add parsing string to an object on Input event, so use this code:prevar suggestions = JSON.stringify(localStorage.getItem("mySuggestions"));
Appery("inputcity").autocomplete({source: suggestions});/pre
I tried this but not working now
you can get more idea what is the problem
http://appery.io/app/mobile-frame?src...
Hello! In inputcity-Input-Run JavaScript instead prevar suggestions = JSON.stringify(localStorage.getItem("mySuggestions"));/pre should be prevar suggestions = JSON.parse(localStorage.getItem("mySuggestions"));/pre