Why can’t do so something like:
:onfocus => “alert(‘hey’);”
For a datetime_select. I tried doing:
:html => {:onfocus => “alert(‘hey’)”}
and
:html_options => {:onfocus => “alert(‘hey’)”}
any ideas?
Thanks.
Why can’t do so something like:
:onfocus => “alert(‘hey’);”
For a datetime_select. I tried doing:
:html => {:onfocus => “alert(‘hey’)”}
and
:html_options => {:onfocus => “alert(‘hey’)”}
any ideas?
Thanks.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs