HIncludeWeb的声明性客户端包含
hinclude.js 可以实现在 Web 客户端上使用 include 指令来包含其他页面内容。
示例代码:
<hx:include src="/other/document/here.html"></hx:include>
或者是指定默认内容:
<hx:include src="new"> this content will be overwritten by the included content </hx:include>
评论
hinclude.js 可以实现在 Web 客户端上使用 include 指令来包含其他页面内容。
示例代码:
<hx:include src="/other/document/here.html"></hx:include>
或者是指定默认内容:
<hx:include src="new"> this content will be overwritten by the included content </hx:include>