Parker,
have you tried using onBlur in the text area?
<%= text_area_tag "my_text", "content", :onBlur =>
"
document.form_name.submit();" %>
Rob
On 4/20/06, Damian leGassick <damianlegassick@mac.com>
wrote:>
> sorry to bump,
>
> any joy with this?
>
> Parker Thompson wrote:
> > I thought I''d seen some discussion on this, but
can''t find it. I have
> > a text area that I''d like to save on blur unless the user
clicks
> > cancel. Anyone got a nice example of this? It''s non-obvious
to me
> > how I force the submit via javascript. Thanks,
> >
> > pt.
> > --
> > Parker Thompson
> > http://www.parkert.com/
> > 510.541.0125
>
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
c++: the power, elegance and simplicity of a hand grenade
http://www.migrob.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060421/c513466c/attachment.html