jquery-docs
Installation
SKILL.md
jQuery Skill
jQuery — A fast, small, and feature-rich JavaScript library for DOM traversal, manipulation, event handling, animation, and Ajax. Version: jQuery 3.7.x | Docs: api.jquery.com | learn.jquery.com
Quick Reference
| File | Topics |
|---|---|
| getting-started.md | Installation (npm, Yarn, CDN, downloading), including jQuery in pages, document ready, $ vs jQuery, basic selectors, chaining, noConflict, jQuery vs vanilla JS, browser support, jQuery Migrate plugin |
| api.md | Core (jQuery(), $.extend(), $.each(), $.when(), noConflict()), selectors (CSS, attribute, form, pseudo, hierarchy), attributes (attr, prop, val, html, text, addClass, removeClass, toggleClass, hasClass), manipulation (append, prepend, after, before, clone, remove, empty, replaceWith, wrap), traversing (find, children, parent, parents, siblings, next, prev, closest, filter, not, eq, first, last, slice, add, end), CSS (css, height, width, offset, position, scrollLeft, scrollTop), events (on, off, one, trigger, click, hover, ready, event object properties and methods), effects (show, hide, toggle, fadeIn, fadeOut, fadeTo, fadeToggle, slideDown, slideUp, slideToggle, animate, stop, delay, queue, dequeue, finish), Ajax ($.ajax, $.get, $.post, $.getJSON, $.getScript, .load, $.ajaxSetup, $.ajaxPrefilter, $.param, .serialize, .serializeArray, jqXHR object), utilities ($.each, $.extend, $.grep, $.map, $.merge, $.inArray, $.isArray, $.isFunction, $.isPlainObject, $.trim, $.type, $.parseJSON, $.parseHTML, $.parseXML, $.proxy, $.noop, $.now, $.uniqueSort), deferreds (Deferred, promise, done, fail, always, then, pipe, resolve, reject, notify, state, when), internals (context, jquery, selector, pushStack) |
| guides.md | Events (event basics, event delegation, custom events, event helpers, triggering, event handling function), effects (intro, custom animations with .animate(), queue & dequeue explained), Ajax (key concepts, jQuery Ajax methods, Ajax and forms, JSONP, Ajax events), plugins (finding & evaluating, basic plugin creation, advanced plugin concepts, publishing to npm), performance (append outside loops, cache length, detach elements, optimize selectors, use stylesheets, don't act on absent elements), code organization (concepts, beware anonymous functions, DRY, feature & browser detection, deferreds) |