# Auto\_complete\_field works for all BUT Opera

**URL:** <https://www.ruby-forum.com/t/auto-complete-field-works-for-all-but-opera/108412>\
**Category:** Rails\
**Created:** [July 3, 2007, 9:11am UTC](https://www.ruby-forum.com/t/auto-complete-field-works-for-all-but-opera/108412 "2007-07-03T09:11:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Digimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/71c47a/32.png) [@Digimage](https://www.ruby-forum.com/u/Digimage)\
**Post date:** [July 3, 2007, 9:11am UTC](https://www.ruby-forum.com/t/auto-complete-field-works-for-all-but-opera/108412/1 "2007-07-03T09:11:19Z")

</div>

The following code works fine for all browser except Opera…  
Opera does not update the textfield selection when I select one of the  
item from the pop-up list and press “Enter”…

Is there any way I could force the broswer to update the selected item  
into params  
before calls into action so this way it will work under Opera also?

any help is appreciated…

 \<%= text\_field "portal", "searchtext" - %\>

```
                            <div class="auto_complete"

```

id=“portal\_searchtext\_auto\_complete”\>

```
                            </div>

                            <%=

```

auto\_complete\_field :portal\_searchtext,  
:url =\>{:controller=\> ‘portal’,  
:action =\> ‘venue\_site\_live\_search’ },  
:frequency =\> 0.2,  
:update  
=\>“portal\_searchtext\_auto\_complete”,  
:indicator =\>“ajax-loader”,  
:token =\>","  
-%\>
