小编Zit*_*tun的帖子

将外部页面html插入页面html

我想在我的网页中加载/插入外部html页面.示例:

<b>Hello this is my webpage</b>
You can see here an interresting information :

XXXX

Hope you enjoyed
Run Code Online (Sandbox Code Playgroud)

XXXX应该由一个小的脚本(尽可能小),该加载页面等代替http://www.mySite.com/myPageToInsert.html

我用jquery找到了以下代码:

<script>$("#testLoad").load("http://www.mySite.com/myPageToInsert.html");</script>    
<div id="testLoad"></div>
Run Code Online (Sandbox Code Playgroud)

我不想使用外部javascript库作为jquery ...

html javascript

6
推荐指数
1
解决办法
6万
查看次数

.Net的编码约定

什么是在.net中编写代码的最佳约定?我的意思是变量的名称,案例等等......

.net convention

1
推荐指数
1
解决办法
78
查看次数

标签 统计

.net ×1

convention ×1

html ×1

javascript ×1