静态HTML文件从外部调入HTML模板(如头部、页尾这些公共的部分)
1、使用Ajax动态拉取填充$(document).ready(function(){ $('.top').load('topic-top.html'); $('.footer').load('topic-footer.html');});$(document).ready(function(){ $.ajax(function(){ u...