jquery:我怎么知道我是否拥有它? [英] jquery: how do i know if i have it?
本文介绍了jquery:我怎么知道我是否拥有它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要jquery在本地浏览浏览器。我如何知道它是否已安装,以及如何安装它?
i need jquery to work on a browser locally. how do i know if it is installed and how do i install it ?
我的问题是特定于能够运行此代码:
my question is specific to being able to run this code:
onmouseover="evt.target.setAttribute('opacity', '0.5'); $('#someDiv').show();"
onmouseout="evt.target.setAttribute('opacity', '1'); $('#someDiv').hide();"
推荐答案
如果您打算在本地包含jQuery,罗伯特的建议,你将首先必须从这里下载: http:// code .jquery.com / jquery-1.4.2.min.js
If you are going to include jQuery locally, as per Robert's suggestion, you will first have to download it from here: http://code.jquery.com/jquery-1.4.2.min.js
这篇关于jquery:我怎么知道我是否拥有它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文