Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

how to implement type ahead functionality using AJAX

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all ,
I am developing an application in which I need to use type ahead functionality using AJAX. I wanted to know is it possible to implement this functionality with Ajax alone or we need to use some other framework ..?
Any link will be appriciated.
Thanks in advance
Regards
Nuthan
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
 
nuthan kumar
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for your quick reply. Link which you have provided is talking about changing another field dynamically. My requirement is something like , user will enter first letter in a text field and it should diplay all the names starting with that letter and allow user to select a name and finish searching. Do you have any links on this ..?

Nuthan
 
Marshal
Posts: 67289
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by nuthan kumar:
Link which you have provided is talking about changing another field dynamically.

The principle is the same.
 
nuthan kumar
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, I agree with you but i wanted to dispaly the result in some kind of frame so that user can select a value. What I understand is we can display a new select field with the options and allow user to select a value, but I need something like auto complete form , only different is I will get values from database not from cookies.

Nuthan
 
Bear Bibeault
Marshal
Posts: 67289
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to look at the scriptaculous auto-completer controls.
 
nuthan kumar
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for the information .. I think this is what I am looking for, Can you please tell me what js files I need to down load and where can I get some sample code.

Regards
Nuthan
 
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used Google to search for scriptaculous auto-completer controls, found a lot of information...

Is Google working in your browser?
 
We cannot change unless we survive, but we will not survive unless we change. Evolving tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!