call function on diocument.ready code example Example: jquery document ready // jQuery document ready $(document).ready(function() { });