I am reading JavaScript and jQuery, a skipped manual
and they start with this snippet:
$(document).ready(function(){});
I know that function(){}
is an anonymous function, and this document is an object with properties that I can set / read, and that ready () is a jQuery function defined in the library, but I don't know what the rest of The syntax for and is not explained in the book.
In particular,
$(document)
Can someone explain what this means, or give me a link? Also, someone said that you can identify jQuery with just that, is that true?
user656925
source share