Possible Duplicate:
what is difference of $(function(){ }); and $(document).ready(function() { }) ;?
what are the differences between $(document).ready(function() vs $(function(){
and should I write it in the $ form or the new jQuery(document).ready(function(){ way?
if I have google api loaded is google.setOnLoadCallback(function() { a better way? or is it the same thing?
I've also seen people use $(function($){ can somebody help me, I'm lost. I bugs me when I don't know the code I write. I guess I should read through the library. Are the all being defined as the same thing?