srboisvert
srboisvert

Reputation: 12749

Rails: Ajax auto-suggest plugin?

Is there a rails (or other javascript framework) plugin that does the auto suggest like the Related Questions suggestions here in Stack Overflow where after leaving the text field a list of related items shows up?

Also is there a name for this UI patterm?

Upvotes: 1

Views: 2808

Answers (2)

Avishai
Avishai

Reputation: 4732

If you use jQuery, you can use this plugin: http://plugins.jquery.com/project/jq-autocomplete

I've used it before and it's easy enough to configure.

Upvotes: 0

Can Berk Güder
Can Berk Güder

Reputation: 113340

There's an auto_complete plugin for Rails, which I believe can be used to achieve that effect. Just prevent it from filling the text input, and use a bigger div with links.

Upvotes: 3

Related Questions