From kodeboard, 4 Years ago, written in JavaScript.
Embed
  1. if ($('#checkbox').is(':checked')) {
  2.     $("#message_div").show();
  3. } else {
  4.     $("#message_div").hide();
  5. }

You must login to reply or comment on this code.