$(document).ready(function () { $("#pageheader").load("header.html"); $("#pagefooter").load("footer.html"); });