What does this JQuery code mean and when will it get called?
all, 

I am new to JQuery and I see a piece of code in a web page: 
 
    $(function() {
                //do something...
            });

I don't understand the syntax here. 
Does it define a function? 
When will it get called?
Can I re-use it? 

Thanks


What does this JQuery code mean and when will it get called?
===

all, 

I am new to JQuery and I see a piece of code in a web page: 
 
    $(function() {
                //do something...
            });

I don't understand the syntax here. 
Does it define a function? 
When will it get called?
Can I re-use it? 

Thanks

