Posted By

metarocket on 04/15/11


Tagged

show toggle hide jquery


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Bambo
bchalker


Show / Hide Div on Click (.toggle) jQuery


 / Published in: jQuery
 

  1. $(document).ready(function() {
  2. $('.div').click(function() {
  3. $('#contentbox').toggle(400);
  4. return false;
  5. });
  6. });

Report this snippet  

You need to login to post a comment.