There is an undocumented "parse" option. A usage example (for a JSON response) is here: http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/json.html Look at the return value and try to extract that data from the response. Better yet, rewrite your serverside to return a useful response...
Jörn On Wed, Dec 24, 2008 at 12:12 PM, want to do graphics <[email protected]> wrote: > > Any suggestions? > > On Dec 22, 11:43 pm, want to do graphics <[email protected]> wrote: >> Hello Team, >> >> Its really very interesting using jQuery in our application. >> >> Now, I had to integrate the most famous AutoComplete feature of Ajax >> technology. >> >> I searched and got jQuery Autocomplete plugin. >> >> I had a problem using this plugin, please help, below is a brief note: >> >> Below is the code snippet I had integrated to my app: >> >> $(document).ready(function() { >> $("#cityName").autocomplete({ >> ajax: "/searchCity.jsp", >> }); >> >> }); >> >> my jsp page returns the results of search for cityName as an html >> page/ code. >> This resultant html page has a text field that has matched cityNames. >> >> Eg of resultant html page: >> >> <html> >> >> <head> >> </head> >> >> <body> >> >> <input type="text" id="suggestedOptions" value="London, UK; London, >> US; London, XYZ"> >> >> </body> >> >> </html> >> >> I would like the value of this text field to be shown to user as the >> matched results of cityNames. >> >> Please let me know if you have any issues. >> >> Thank You, >> Shravan > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
