<html>
<head>
</head>
<body >
<include file="Index/head" />
<button on
<div id="content"></div>
<sc
function myclick(){
var str='<include file="Index/homecontent"/>';
document.getElementById("content").innerHTML= str;
alert(str);
}
</sc
<include file="Index/foot" />
</body>
</html>
想实现,随点击按钮的不同,content DIV能够动态加载homecontent.html,aboutcontent.html等内容
最佳答案