get script ajax document ready code example Example: jquery ready // jQuery document ready function $(function() { // do stuff });