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
<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)" %>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---