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
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
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