jquery代碼:
復制代碼 代碼如下:
$(function(){
$("#test").load("${contextPath}/notepad/toCreate.do");
}
這種方式沒辦法實現,換個思路:
復制代碼 代碼如下:
<div>
<iframe></iframe>
</div>
復制代碼 代碼如下:
function loadPage(){
window.open("${contextPath}/notepad/toCreate.do",'testLoad','');// testLoad為iframe的name屬性
}
復制代碼 代碼如下:
<input type="button" value="加載" />
新聞熱點
疑難解答
圖片精選