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