如何找出我正在使用的jQuery版本? [英] How can I find out what jQuery version I’m using?
本文介绍了如何找出我正在使用的jQuery版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的页面加载了jQuery.有什么办法可以找出是哪个版本的jQuery?
My page loads jQuery. Is there any way to find out which version of jQuery that is?
推荐答案
您可以使用$().jquery;
或$.fn.jquery
这将返回包含版本号的字符串,例如1.6.2.
Which will return a string containing the version number, e.g. 1.6.2.
这篇关于如何找出我正在使用的jQuery版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文