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