show div on check for checkbox

Sometimes you need to show a div when you click a checkbox, here is how yo do it. You need jquery to establish this.

Check me




Put some content here

Basicly the paragraph container named checked is hidden untill one presses the checkbox.

Click here for a demo

7 thoughts on “show div on check for checkbox

  1. Hi! I’m Crystal. I am almost 19. 🙂
    I guess worcesterwideweb.com – nice name for this site! 😉
    It is so interestingly here, especially in this category.
    I was surfed about 3 hours before found this forum. I think i’ll be here for a long time! :-*

  2. Works great!
    But line 5 is outside the in the code…

    Correct end of the code:
    Put some content here

Leave a Comment