我想将外部html页面加载/插入到我的网页中。例如:将外部页面html插入页面html
<b>Hello this is my webpage</b>
You can see here an interresting information :
XXXX
Hope you enjoyed
的XXXX应该由一个小的脚本替换(在尽可能小),该加载页一样http://www.mySite.com/myPageToInsert.html
我发现与jquery以下代码:
<script>$("#testLoad").load("http://www.mySite.com/myPageToInsert.html");</script>
<div id="testLoad"></div>
我想同样没有使用外部JavaScript库作为jQuery ...
优秀的,这是一个... thx – Zitun 2011-02-11 10:13:07