jquery
Installation
SKILL.md
jQuery
jQuery is a fast, small, and feature-rich JavaScript library that makes HTML document traversal and manipulation, event handling, animation, and AJAX much simpler with an easy-to-use API that works across a multitude of browsers.
When to Use This Skill
This skill should be used when the user:
- Mentions jQuery,
$, or jQuery syntax patterns - Asks about DOM manipulation using selectors like
$('#id')or$('.class') - Works with event handlers like
.on(),.click(),.submit(),.hover() - Needs help with AJAX requests using
$.ajax(),$.get(),$.post(), or$.getJSON() - Wants to add animations or effects like
.fadeIn(),.slideUp(),.animate() - Asks about jQuery plugins or extending
$.fn - Needs to debug jQuery code or fix common issues
- Wants to migrate jQuery code to vanilla JavaScript
- Asks about jQuery utilities like
$.each(),$.map(),$.extend() - Needs help with the jQuery object, chaining, or deferred promises