File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Dropdown list task Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dropdown list task" Watch "Dropdown list task" New topic
Author

Dropdown list task

yekkala krishna
Ranch Hand

Joined: Mar 04, 2007
Posts: 105
Hi,
I want an idea how to solve the below task
In Drop down box when i enter some letter in the input box,the corresponding words of that particular letter must be displayed below as a list from the data base (presently i am using file) in the same input box as drop down.

can any body give me your suggestions regarding this task.


regards,
rama
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

That is called an "autocompleter" or sometimes "suggest widget". And it's not something you can use JSP to accomplish.

I've moved this to the JavaScript forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3827

You might want to look at AJAX (to send/receive data to/from server). And how to sort the content of a drop down box based on what the user types in it.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
yekkala krishna
Ranch Hand

Joined: Mar 04, 2007
Posts: 105
Hi kumara,

Good to see you reply.
I am new to Ajax technology.so i am asking you Is there any example regarding this concept?
Thanks in advance.

regards,
rama krishna.y
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

Perhaps you could google for the terms I gave you.
 
wood burning stoves
 
subject: Dropdown list task