I have a check_box_tag in my code that the user clicks to add more
information. When the checkbox is checked or unchecked I want to call a
JS function I have written called toggleBox(). Does anyone know how to
do this?
Thanks in advance!
I have a check_box_tag in my code that the user clicks to add more
information. When the checkbox is checked or unchecked I want to call a
JS function I have written called toggleBox(). Does anyone know how to
do this?
Thanks in advance!
On Sep 1, 4:15 am, Phil J. [email protected]
wrote:
I have a check_box_tag in my code that the user clicks to add more
information. When the checkbox is checked or unchecked I want to call a
JS function I have written called toggleBox(). Does anyone know how to
do this?
pass an onclick option to the checkbox.
Fred
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