Posted by: quicksiler May 29, 2013
help needed with javascript, ajax n jquery
Login in to Rate this Post:     0       ?        
Tech gurus i need some help. I am adding a predictive search( for products) to an  e-commerce cms website(just like in google search). Since its a cms, i am limited to use javascript only. the CMS has provided me the API which give me list of products. How can i achieve the task?

this is how I am thinking of achieving the task:
1 using Ajax get the products via api. and store to a variable( product properties: name, id, company, etc)
2.when user type something in textbox, use jquery.autocomplete property to get value from the variable.

this is how i think i am suppose to do, but i am not able to write code for it. any help is appreciated.
Read Full Discussion Thread for this article