# jQuery
> jQuery is a fast, small, and feature-rich JavaScript library.
For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/).
For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).
If upgrading, please see the [blog post for 3.4.1](https://blog.jquery.com/2019/05/01/jquery-3-4-1-triggering-focus-events-in-ie-and-finding-root-elements-in-ios-10/). This includes notable differences from the previous version and a more readable changelog.
## Including jQuery
Below are some of the most common ways to include jQuery.
### Browser
#### Script tag
```html
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
```
#### Babel
[Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.
```js
import $ from "jquery";
```
#### Browserify/Webpack
There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this...
```js
var $ = require("jquery");
```
#### AMD (Asynchronous Module Definition)
AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html).
```js
define(["jquery"], function($) {
});
```
### Node
To include jQuery in [Node](nodejs.org), first install with npm.
```sh
npm install jquery
```
For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes.
```js
require("jsdom").env("", function(err, window) {
if (err) {
console.error(err);
return;
}
var $ = require("jquery")(window);
});
```
没有合适的资源?快使用搜索试试~ 我知道了~
Python-ElectronGUIforaPythonModule
共134个文件
js:111个
json:4个
map:3个
需积分: 21 5 下载量 43 浏览量
2019-08-10
03:16:16
上传
评论 1
收藏 602KB ZIP 举报
温馨提示
该项目演示了如何在Electron中显示Python模块的输出
资源推荐
资源详情
资源评论
收起资源包目录
Python-ElectronGUIforaPythonModule (134个子文件)
custom.css 510B
loading_spinner.gif 80KB
demo.gif 56KB
.gitignore 957B
index.html 516B
jquery.js 274KB
jquery.slim.js 222KB
jquery.min.js 86KB
jquery.slim.min.js 69KB
sizzle.js 64KB
event.js 24KB
ajax.js 22KB
sizzle.min.js 19KB
effects.js 17KB
css.js 14KB
manipulation.js 12KB
deferred.js 11KB
core.js 9KB
core.js 9KB
controller.js 7KB
offset.js 7KB
selector-native.js 6KB
callbacks.js 5KB
trigger.js 5KB
traversing.js 4KB
classes.js 4KB
xhr.js 4KB
data.js 4KB
val.js 4KB
Data.js 4KB
init.js 3KB
Tween.js 3KB
attr.js 3KB
serialize.js 3KB
queue.js 3KB
support.js 3KB
prop.js 3KB
jsonp.js 3KB
buildFragment.js 2KB
deprecated.js 2KB
findFilter.js 2KB
showHide.js 2KB
ready-no-deferred.js 2KB
ready.js 2KB
adjustCSS.js 2KB
load.js 2KB
dimensions.js 2KB
curCSS.js 2KB
script.js 2KB
parseHTML.js 2KB
focusin.js 1KB
wrap.js 1KB
main.js 1KB
access.js 1KB
isHiddenWithinTree.js 1KB
DOMEval.js 1KB
support.js 1KB
amd.js 1024B
renderer.js 928B
wrapMap.js 798B
support.js 786B
_evalUrl.js 676B
getAll.js 650B
alias.js 649B
exceptionHook.js 640B
delay.js 636B
support.js 631B
jquery.js 622B
global.js 608B
parseXML.js 559B
addGetHookIf.js 530B
view.js 522B
swap.js 520B
selector-sizzle.js 411B
getStyles.js 401B
setGlobalEval.js 381B
dir.js 371B
stripAndCollapse.js 362B
ajax.js 346B
acceptData.js 318B
hiddenVisibleSelectors.js 317B
rtagName.js 304B
animatedSelector.js 244B
rsingleTag.js 244B
siblings.js 218B
attributes.js 217B
rnothtmlwhite.js 202B
nodeName.js 178B
readyException.js 168B
rcssNum.js 136B
support.js 133B
rnumnonpx.js 131B
rneedsContext.js 128B
support.js 117B
ObjectFunctionString.js 110B
hasOwn.js 110B
documentElement.js 105B
toString.js 104B
pnum.js 100B
rscriptType.js 92B
共 134 条
- 1
- 2
资源评论
weixin_39840515
- 粉丝: 446
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功