$( document ).ready( () => { $( '#nav' ).load( '/menu.html' ); $( '#footer' ).load('/footer.html'); } );