jQuery.codeHinter manual
Select a jQuery method or selector. See what it does.
Reading a jQuery tutorial or taking a jQuery class or course? Select a method like closest on a tutorial or reference page to see what it does right where you’re reading.
- Select a term
Double-click a method name or drag across a selector, including its punctuation.
- Read the hint
See the definition, an example when available, and reference links without leaving the page.
The More… buttons are Show-in-context ↗ links. More if you need it.
Example
closestEnable the catalog
Choose jQuery in the CodeHinters toolbar settings. You can also load the separate jQuery.codehinter.ext folder as an unpacked extension. For local HTML pages, enable Allow access to file URLs in the extension’s details.
Quality control
All 75 examples passed JavaScript syntax checks. The snippets assume jQuery is loaded and may need the corresponding HTML or endpoint to run.
Sources
The official jQuery API documentation is the primary reference. W3Schools jQuery Reference is the second source. Definitions and examples are original.
Privacy & Data
Hint lookups and usage counts stay in Chrome. See the CodeHinters Privacy Policy for licensing and support details.
Support
jQuery example tables
With the extension enabled, click an entry to see its hint. After clicking an entry, use the arrow keys to move between terms in that table. Double-click an entry to open its More… reference in a new tab, even without the extension. You can also focus an entry and press Shift+Enter. These tables are a test page. The extension also works on webpages where you can select supported jQuery terms.
Core (8)
| jQuery | noConflict | each | jQuery.each |
| length | get | toArray | ready |
Selectors (6)
| :checked | :selected | :visible | :hidden |
| :input | :contains |
Traversing and filtering (15)
| find | filter | not | is |
| closest | children | parent | parents |
| siblings | next | prev | first |
| last | eq | add |
HTML, attributes and styles (22)
| addClass | removeClass | toggleClass | hasClass |
| text | html | val | attr |
| removeAttr | prop | css | data |
| append | prepend | before | after |
| empty | remove | detach | clone |
| wrap | replaceWith |
Events (7)
| on | off | one | trigger |
| triggerHandler | preventDefault | stopPropagation |
Effects (10)
| show | hide | toggle | fadeIn |
| fadeOut | slideUp | slideDown | slideToggle |
| animate | stop |
Ajax and forms (7)
| ajax | jQuery.get | post | getJSON |
| load | serialize | serializeArray |