JQuery-include is a plugin provides browser based file include similar to SSI. it's used in prtotyping and to be viewed in file system rather than hosted
The plugin can handle nested includes
Read The Full Tutorial.
JQuery-include is a plugin provides browser based file include similar to SSI. it's used in prtotyping and to be viewed in file system rather than hosted The plugin can handle nested includes - linking paths in the include file are modified to match the host page context. For post-include processing the includeReady method is similar the jquery.ready method.
$(document).includeReady(function () {
// initialisation code here // e.g. modify include dom
});
Include tag useage:
<span src="includes/test1.html">
<p class="error-msg">include has not loaded</p>
</span>
|