Regarding Inp place editor


  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 <input id="test" name="test" type="text" value="">

<%= observe_field 'test', :frequency => 0.5,   :update => 'target_id', :url => { :controller => 'test', :action=> 'update' }, :with => "'test=' + escape(value)" %>