externalfile1.html

来自「Goodies DHTML scfripts」· HTML 代码 · 共 8 行

HTML
8
字号
<h2>External file 1</h2>
<p>The text you see here is an external file which is loaded into this HTML element by use of Ajax.</p>
<p>This is simply done by the following Javascript function call: ajax_loadContent('news1','external/externalfile1.html'). Two arguments are sent 
to this function</p>
<ol>
	<li>The id of the element you want to update, example: "news1" for &lt;div id="news1">&lt;/div></li>
	<li>The path to the external file.</li>
</ol>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?