Different Between $(document).ready(function(){}); and $(function () {});
Hi,
When I work with JQuery, I have seen some people write JQuery script on $(document).ready(function(){ ... }); and others write on $(function () { ... }); I would like to know the different between both ways and how to one style when we are writing JQuery.
Rasika.