- Dec 2022
-
www.zhihu.com www.zhihu.com
-
bootstrap+jq+ES5 真的比react/vue/angular+ES6 low吗?
Tags
Annotators
URL
-
-
-
想研究 JavaScript 框架的源码,有哪些值得推荐的框架或库?有哪些可以分享的源码阅读和学习的方法?
-
- Jul 2022
-
www.agraddy.com www.agraddy.com
-
it falls within TACE
Does it? Most jQuery is served minified. Even if not, the "full fat" version is not especially readable.
There are bad reasons to despise jQuery (e.g. because it's old). But there are good reasons, too (because it's bloated and just not very good).
Tags
Annotators
URL
-
- May 2022
-
hackernoon.com hackernoon.com
-
just include jQuery from a CDN
-
-
news.ycombinator.com news.ycombinator.com
-
jQuery is, last I checked, over 200k unminified.
Tags
Annotators
URL
-
-
api.jquery.com api.jquery.com
-
The focus event does not bubble in Internet Explorer. Therefore, scripts that rely on event delegation with the focus event will not work consistently across browsers. As of version 1.4.2, however, jQuery works around this limitation by mapping focus to the focusin event in its event delegation methods, .live() and .delegate().
-
-
www.cnblogs.com www.cnblogs.com
-
jquery绑定input的change事件 背景:在做一个登录页时,如果用户未输入验证码则无法点击登录按钮,所以想到了用input的change事件,但是在写完后发现无法监听input值的改变。 解决办法:改为了input事件
Tags
Annotators
URL
-
-
blog.51cto.com blog.51cto.com
-
$('input[name=myInput]').change(function() { ... });1. 在输入框内容变化的时候不会触发change,当鼠标在其他地方点一下才会触发
$("input").change(function(e) { // ... });
$("input").on('input', function(e) { // ....})
Tags
Annotators
URL
-
- Apr 2022
-
alexcabal.com alexcabal.com
-
could a few carefully-placed lines of jQuery
Look, jQuery is not lightweight.* It's how we got into this mess.
* Does it require half a gigabyte of dev dependencies and regular dependencies to create a Hello, World application? No, but it's still not lightweight.
-
-
motherfuckingwebsite.com motherfuckingwebsite.com
-
your 40-pound jQuery file and 83 polyfills
Tags
Annotators
URL
-
- Feb 2022
-
news.ycombinator.com news.ycombinator.com
-
only jquery
It would be nice if people would stop saying this—and saying it like this—as if it's a badge of honor. jQuery is a fuckin' beast. 10 years ago, the reason that the browser was being brought to a crawl on any given pages often came down to the fact that it was using jQuery. jQuery is the reason that bloated frameworks became normalized and brought us to where we are today. So, enough already with this just-a-little-jQuery stuff.
Tags
Annotators
URL
-
- Nov 2021
-
api.jquery.com api.jquery.com
-
You can stop the loop from within the callback function by returning false.
Ritornare false da una funzione di callback all'interno di un metodo each provoca l'interruzione del loop.
-
- May 2021
-
github.com github.com
-
Are you also tired and fed up with the bulkiness of jQuery, but also don't want to have to type document.querySelector("div").appendChild(document.createTextNode("hello")); just to add some text to an element?
happy middle/medium?
-
- Jan 2020
-
github.com github.com
Tags
Annotators
URL
-
- Dec 2019
-
blog.logrocket.com blog.logrocket.com
-
If you are using a JavaScript library, chances are it comes with a client HTTP API. jQuery’s $.ajax() function, for example, has been particularly popular with frontend developers. But as developers move away from such libraries in favor of native APIs, dedicated HTTP clients have emerged to fill the gap.
-
- Jan 2017
-
stackoverflow.com stackoverflow.com
-
var jq = document.createElement('script'); jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"; document.getElementsByTagName('head')[0].appendChild(jq); // ... give time for script to load, then type (or see below for non wait option) jQuery.noConflict();
Add jQuery in the console!
-
- Jul 2016
-
cdn.cs50.net cdn.cs50.net
-
$("#q").on("typeahead:selected", function(eventObject, suggestion, name)
The event handler will be invoked with 3 arguments: the jQuery event object, the suggestion object, and the name of the dataset the suggestion belongs to.
Tags
Annotators
URL
-
-
cdn.cs50.net cdn.cs50.net
-
$
alias for literally, "jQuery"
-
-
cdn.cs50.net cdn.cs50.net
-
#registration
same as CSS, # refers to element ID
-
input
which child element do you want to manipulate, separated with a space
-
[name=confirmation]
like an associative array, looking for where the attribute name = confirmation
-
- Jun 2016
-
api.jquery.com api.jquery.com
-
If .ready() is called after the DOM has been initialized, the new handler passed in will be executed immediately.
-