# Regarding Inp place editor

**URL:** <https://www.ruby-forum.com/t/regarding-inp-place-editor/115054>\
**Category:** Rails\
**Created:** [September 20, 2007, 6:29am UTC](https://www.ruby-forum.com/t/regarding-inp-place-editor/115054 "2007-09-20T06:29:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anitha.tanda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ecb155/32.png) [@anitha.tanda](https://www.ruby-forum.com/u/anitha.tanda)\
**Post date:** [September 20, 2007, 6:29am UTC](https://www.ruby-forum.com/t/regarding-inp-place-editor/115054/1 "2007-09-20T06:29:07Z")

</div>

Hi

I reqired a auto save feature in in place editor by using Ruby code  
or even with scriptaculous.  
It mean that after entering data in in place editor it has to  
automatically saved into database with out clicking ok or enter  
button.  
When ever we r entering new letter with in 5 seconds of time it has  
to store in database.  
I already done this with normal text field but i am unable to put this  
feature in inplace editor.

Iam putting the code also

text editing

\<%= observe\_field ‘test’, :frequency =\> 0.5,  
:update =\> ‘target\_id’, :url =\>  
{ :controller =\> ‘test’, :action=\> ‘update’ },  
:with =\> “‘test=’ + escape(value)” %\>
