$( document ).ready( function () { $( '#nav' ).load( '/modules/nav.html' ); $( '#footer' ).load( '/modules/footer.html' ); } );