$(document).ready(function(){ // jQuery methods go here... }); $(function(){ // jQuery methods go here... });