This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes displaying value in textbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "displaying value in textbox" Watch "displaying value in textbox" New topic

displaying value in textbox

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830

This is related to JS.

I am able to get the value in JS function, but how to display it in textbox like google lab display.

Say, I am getting value ram|raheem|rajesh|raj when user type 'r' in the search textbox, but how to display these four possible options in the search textbox and give facility to user to select any one out of four if he/she wish.

Hope my question is clear.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
It is called autocomplete tons of Ajax based examples on the net.

It is sorta covered in the JavaRanch Style Guide.
subject: displaying value in textbox
Similar Threads
Google labs !!
Google Select
drop-down list box
how google gives suggestions?
javascript Input Element from database with suggestion