Rails rjs event

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?

Thank you

On Jul 18, 2:21 am, skilled_dreamer [email protected] 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs