# Text\_field with options (youtube style)

**URL:** <https://www.ruby-forum.com/t/text-field-with-options-youtube-style/174203>\
**Category:** Rails\
**Created:** [August 22, 2009, 1:01pm UTC](https://www.ruby-forum.com/t/text-field-with-options-youtube-style/174203 "2009-08-22T13:01:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/f05b48/32.png) [@trd](https://www.ruby-forum.com/u/trd)\
**Post date:** [August 22, 2009, 1:01pm UTC](https://www.ruby-forum.com/t/text-field-with-options-youtube-style/174203/1 "2009-08-22T13:01:02Z")

</div>

Hello World.  
I’m kinda new here and new in Ruby on Rails. I’m working now at a  
personal project for learning RoR.

I searched Google and it’s true that there are pleny result about this  
topic, but everything I do, I can’t make it work.

I want to have a text\_field, which when I click on it, it opens a popup  
(like those on google, youtube) with some “suggests” extracted from  
database.

I included the :default javascript\_tag. I found something about  
auto\_complete\_field function and tried with it. It doesn’t work.

Can everybody explain the steps I have to make, the important aspects,  
what do I really need for this?

Thank you very much.
