Skip to content

Instantly share code, notes, and snippets.

@64lines
Created October 7, 2016 03:03
Show Gist options
  • Select an option

  • Save 64lines/6a0eefff2445fc501639f581a7ac8208 to your computer and use it in GitHub Desktop.

Select an option

Save 64lines/6a0eefff2445fc501639f581a7ac8208 to your computer and use it in GitHub Desktop.
[JAVASCRIPT][JQUERY] - Ready function, different ways to use it. onReady
$( document ).ready(function() {
// Handler for .ready() called.
});
// Which is equivalent to the recommended way of calling:
$(function() {
// Handler for .ready() called.
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment