$(document).ready(function() { 2 $('h2').click(function(){ 3 $(this).children('.content').toggle(); 4 }); 5});