Possible Duplicate:
Differences between document.ready and $function
I think it is a stupid question, but, Can someone show me the differences between these two call types?
$(function(){
//do somenthing
});
and
$(document).ready(function(){
//do somenthing
});