# Text\_field\_with\_auto\_complete and keystroke delay

**URL:** <https://www.ruby-forum.com/t/text-field-with-auto-complete-and-keystroke-delay/121557>\
**Category:** Rails\
**Created:** [November 28, 2007, 10:27pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-and-keystroke-delay/121557 "2007-11-28T22:27:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oldbug](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/c0e974/32.png) [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Post date:** [November 28, 2007, 10:27pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-and-keystroke-delay/121557/1 "2007-11-28T22:27:45Z")

</div>

Hello,

I am using text\_field\_with\_auto\_complete, and it works fine.  
But i would like the decrease the period betwen keystroke and ajax  
httprequest ( 1 sec )  
I tryed to put :frequency =\> “0” but no change…

Any idea anyone ?  
That you be really appreciated

Regards

---

<div class="post-metadata">

**Author:** ![oldbug](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/c0e974/32.png) [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Post date:** [January 16, 2008, 7:47pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-and-keystroke-delay/121557/2 "2008-01-16T19:47:47Z")

</div>

Hakita Hakita wrote:

> Hello,
> 
> I am using text\_field\_with\_auto\_complete, and it works fine.  
> But i would like the decrease the period betwen keystroke and ajax  
> httprequest ( 1 sec )  
> I tryed to put :frequency =\> “0” but no change…
> 
> Any idea anyone ?  
> That you be really appreciated
> 
> Regards

Hello,

i tried this too and it didn’t work for me either with :frequency =\>  
“0”.

But it does with a value like “0.01” (“0.0” also seems to have no  
effect). The completion list is not instantly showing with “0.01” but  
still a lot earlier than before.

Hope this helps.

Greetings,  
Chris
