Prototype/Checkbox fun

I’m probably missing the obvious clues, but i’m stumped. the script is
not
firing, so the div is still visible. this is the first time i’ve used a
script since i’m still classified as a noob

<%= check_box_tag ‘accept_reg’, :onclick => “if
($(‘accept_reg’).checked) {
$(‘submit_div’).show()}” %>

thank you,
Jason

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