jquery shorthand for window ready code example
Example 1: shorthand for jquery document ready
$(function(){
//jQuery code here
});
Example 2: jquery document ready shorthand
jQuery(function() {
// Code here
});
$(function(){
//jQuery code here
});
jQuery(function() {
// Code here
});