【文件属性】:
文件名称:jquery-include:在 html 文件中包含另一个 html 文件的 jQuery 插件
文件大小:32KB
文件格式:ZIP
更新时间:2021-06-21 15:27:39
JavaScript
jQuery 包含插件
这个 jQuery 插件可以帮助开发人员在 html 文件中包含另一个 html 文件。 在此插件中,您可以访问 $(document).ready 函数中包含的内容。
如何使用它?
要将插件包含在您的代码中:
[removed][removed]
要包含另一个 html 文件:
[removed]$.include("include.inc");[removed]
例子
索引.htm :
<html>
<head>
[removed][removed]
[removed][removed]
[removed]
$(document).ready(function () {
alert($("#test").
【文件预览】:
jquery-include-master
----LICENSE(1KB)
----jquery.include.js(373B)
----README.md(816B)
----example()
--------jquery.js(82KB)
--------index.htm(270B)
--------jquery.include.js(373B)
--------include.inc(74B)
----bower.json(333B)