Reputation: 8998
I am developing an application in JSPs and Servlets, and I want to know if, and how it is possible to pass an array from my application in to some javascript so that i can use the Autocomplete feature from the jquery ui library.
Thanks in Advance
Dean
Upvotes: 1
Views: 155
Reputation: 28884
Yes it's quite easy, you need to use JSON.
http://api.jquery.com/jQuery.parseJSON/
Upvotes: 3