任何人都可以給我如何使其工作的建議嗎?如何在JSP中將HTML頁面加載到DIV中(沒有任何加載)
<html>
<head>
<script src="../js/jquery-1.9.1.js"></script>
</head>
<body>
<div id="divpage"></div>
<script>
$("#divpage").load("http://localhost:3000/annotation/testuser/demo.html");
alert("Load was performed.");
</script>
</body>
</html>
可能重複的http://計算器.com/questions/17636528/how-do-i-load-an-html-page-in-a-div-using-javascript – mwilson