On Jul 18, 2:21 am, skilled_dreamer
<centavoma...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Good day,
>
> Is it possible to use other javascript events in rails instead of
> using just onsubmit and onclick?
> Like i want to use onLoad or onBlur how will i do that in rails?
>
Sure you can - just add an onBlur etc... option to the tag/element in
question. You can use the remote_function helper to generate the
javascript that makes an ajax request.
Fred
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---