Chaining events

Chaining events

Hi guys

I need to have load a page on a click function. However , I want the current divs children to fold out first . This is what aI have and its not working!

$("a").click(function(){
$("#cont").children().hide("fold",{},1000).end().html("hello");
});

thanks