I have write simple code for Auto-complete for search. I am developing android application using PhoneGap. I have write code for Auto-complete for search and it's working perfectly but when i am going to run in android its not working.
I am using same file not a single change.Google Chrome is allow to test HTML 5 database pages so first i am always test it in browser and then copy that all files into device.
I have add my dynamic function which return array from database and that is also working in Google Chrome and i can see the perfect result as per the database.
When i run the code in device i always get below error :
TypeError: Result of expression '$( "#pur_cat_text" ).autocomplete' [undefined] is not a function.
I don't know where is the issue and how to solve it. Please guild be how can i solve this.
Thanks for read query.