$( document ).ready() | jQuery Learning Center

PHOTO EMBED

Sat May 29 2021 00:50:38 GMT+0000 (Coordinated Universal Time)

Saved by @ejiwen

// Shorthand for $( document ).ready()
$(function() {
    console.log( "ready!" );
});
content_copyCOPY

Experienced developers sometimes use the shorthand $() for $( document ).ready().

https://learn.jquery.com/using-jquery-core/document-ready/