a $(document) converts the document of the dom object into a jquery object, and then the jquery method ready() can be called; because the dom object cannot call the jquery method, although their relationship is very close; jquery:ready Abbreviated form: