what is difference between different syntax in jQuery?
jquery, jquery-selectors
Solution
Nothing. It does actually exactly the same, it's just a shortcut so you have to write less code.
Problem
what is the difference between: ``` $(function() { //..... }); ``` and ``` $(document).ready(function() { //...... }); ``` in jQuery coding?