jQuery.codeHinter

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.

  1. Select a term

    Double-click a method name or drag across a selector, including its punctuation.

  2. 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.

Go to the example tables

Example

Selected termclosest

Enable 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

CodeHinters support and feedback

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)

jQuerynoConflicteachjQuery.each
lengthgettoArrayready

Selectors (6)

:checked:selected:visible:hidden
:input:contains

Traversing and filtering (15)

findfilternotis
closestchildrenparentparents
siblingsnextprevfirst
lasteqadd

HTML, attributes and styles (22)

addClassremoveClasstoggleClasshasClass
texthtmlvalattr
removeAttrpropcssdata
appendprependbeforeafter
emptyremovedetachclone
wrapreplaceWith

Events (7)

onoffonetrigger
triggerHandlerpreventDefaultstopPropagation

Effects (10)

showhidetogglefadeIn
fadeOutslideUpslideDownslideToggle
animatestop

Ajax and forms (7)

ajaxjQuery.getpostgetJSON
loadserializeserializeArray