引用 jQuery UI 不起作用

Referencing jQuery ui is not working

本文关键字:不起作用 UI jQuery 引用      更新时间:2023-09-26

>我有以下内容:

<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"/>
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

我想在我的服务器中替换它,这样我就不必连接到互联网。如何将以下内容添加到我的网站?

我尝试了以下方法:

<link rel="stylesheet" href="../jquery-ui.css"/>
<script src="jquery-ui.tabs.js"></script>

它不起作用?我不知道从jquery下载哪些文件夹,我正在使用UI选项卡,所以我在嵌入式Web服务器中放置了以下文件夹:

jquery-ui.css
jquery.ui.tabs.js

有人可以帮忙吗?

使用 jQuery

Download Builder 下载您需要的 jQuery UI 包:

http://jqueryui.com/download/

或者只下载带有UI选项卡的jQuery UI

http://jqueryui.com/download/#!version=1.10.3&components=1111111110010001111011111111111111