I'm trying to do a toggle function on click. I don't understand why my function doesn't work, it's very simple...
$("#hello").toggle(function(){
$('#content').css({marginLeft:'20px'});
},function(){
$('#content').css({marginLeft:'0px'});
});