jquery document ready handler
- by user271619
Is there any difference between using:
$(document).ready(function(){
vs.
$(function(){
Does one of these work better than the other in some way, or is the first just a shorthand version of the first?