I was looking through some source code and saw this:
$(function() {
    $('li.link').css('cursor', 'pointer')
    .click(function() {
        window.open ($('a', this).attr('href'));
        return false;
    });
});
Can someone explain what that does, selecting an anonymous function? I don't care about the body of the function; I'm just interested what $(function() { ...}) does. 
 
    