具有多种功能的jquery [英] jquery with multiple features
本文介绍了具有多种功能的jquery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
i包括
Hi
i have included
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
$ b对于datepicker,范围滑块的页脚$ b
以及如果我使用
in footer for datepicker , range slider
and also if i use
<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript" src="js/jquery.galleriffic.js"></script>
我使用Galleriffic获取图片用于翻转效果的插件
如果我包含galleriffic.js,jquery-1.3.2.j,我得到datepicker函数找不到错误..
请咨询
关于
I get Image using Galleriffic plugin for rollover effect
if i include galleriffic.js ,jquery-1.3.2.j, , i get datepicker function not found error..
pls advice
regards
推荐答案
您正在添加多个js文件。不要使用js / jquery-1.3.2.js
文件,因为您已经包含了jquery-1.9.1.js
文件。
所以,请在下面做...
You are adding multiple js files. Don't usejs/jquery-1.3.2.js
file as you have already included thejquery-1.9.1.js
file.
So, do like below...
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script type="text/javascript" src="js/jquery.galleriffic.js"></script></link>
包含任何一个jquery库。不需要包含多个jquery库多个插件的时间。
最好的时候可以获得最新版本的时间.eg:
Include any one jquery library.Need not required to include it multiple times for multiple plugins.
Better to go for latest possible version available by the time.eg:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/jquery.galleriffic.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"></link>
希望这能解决您的问题。
Hope this will resolve your issue.
这篇关于具有多种功能的jquery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文