function that fire when DOM is ready code example Example: jquery ready // jQuery document ready function $(function() { // do stuff });