JQuery ready event and its shortcut
- by Sarfraz
Hello,
In most of the videos, I see expert JQuery developers writing complete code for the ready event eg:
$(document).ready(function(){
//.....
});
rather than its shortcut:
$(function(){
//.....
});
Is there any particular down side to using shortcut method?