Slide Reveal on Checked Checkbox


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $('input#agreement').change(function(){
  2. if($(this).is(':checked')){
  3. $(".ad-form").slideDown("slow");
  4. }else{
  5. $(".ad-form").slideUp("slow");
  6. }
  7. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.