jquery $(document).on("ready" code example Example: document jquery $(function(){ // equal to $( document ).ready(function() { });