Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://ajaxpatterns.org/Live_Search
 
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
 
Sheriff
Posts: 67401
173
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
Sheriff
Posts: 67401
173
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?
 
It means our mission is in jeapordy! Quick, read this tiny ad!
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic