You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
Arthur Guiot edited this page Jul 16, 2017
·
1 revision
How it works?
This function will basically run a function when the page document is fully loaded. This will simply add the ability to run functions when everything works fine.
How to use it?
This function will only require 1 argument which is a callback function that will be called when the DOM is ready.
Example
Let's display an alert when the DOM is fully loaded:
JS:
$.ready(function(){alert("🚨 The DOM is now ready!");})
⚠️ Questions?
Don't hesitate to ask your questions ⁉️ in the issue part 😁