Eventy i jQuery

$("div").click(function(event){
 //parametr funkcji zawiera informacje o zdarzeniu
 console.log(event);
});

$("div").click(function(){
 //this: odwolanie do samego siebie (klikniÄ™tego diva)
 $(this).html("new content");
});