• Post Reply Bookmark Topic Watch Topic
  • New Topic

AutoSuggest drop down using Ajax

 
Jahnavi Kondapaneni
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I want to implement an autosuggest drop-down using ajax in Servlets and JSPs.I want to maintain the drop down values in an XML and load the XML and display the values in the drop-down.This is really important for me.I have been trying but not able to succeed.
Looking forward for your help.
Thanks in advance.


Regards,
Janu
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are tons of tutorials out there on the web to do it along with libraries that do it.

http://developer.yahoo.com/yui/autocomplete/
http://plugins.jquery.com/project/jq-autocomplete

Eric
 
Jahnavi Kondapaneni
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Eric.
But the exact place where I am getting stuck is I want to populate the dropdown box values from an XML and not from database.
Can you please help me out with loading of the XML.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!