Category: jQuery

모든 카드는 그대로 두고 일부 카드만 강조해 부분 집합을 표현한 문자 없는 일러스트

jQuery / Method / .not() - Exclude Elements from a Selection

Exclude matching elements from the current jQuery collection with .not(). A complete example distinguishes DOM removal, multiple selectors, callback tests, node references and filter.

가운데 내용과 간격은 유지한 채 양끝 조각만 정리하는 문자 없는 일러스트

jQuery / Method / jQuery.trim() - Remove Whitespace at String Edges

jQuery.trim() trimmed string edges and was removed in jQuery 4. A complete native trim migration example covers null and numeric inputs, internal spaces and Unicode whitespace differences.

배열 맨 앞의 토큰을 돋보기로 확인하는 문자 없는 일러스트

jQuery / Method / jQuery.inArray() - Find an Array Index Correctly

Interpret the index and -1 returned by jQuery.inArray(). Complete examples compare numbers and strings, starting positions, object references, NaN and native indexOf/includes alternatives.

두 컨테이너의 문자 없는 리본이 모이는 모습으로 텍스트 결합을 표현한 일러스트

jQuery / Method / .text() - Read or Replace Text Contents

Read combined text from multiple elements and display strings without parsing tags. A complete example covers hidden text, whitespace, per-element results, callback setters, empty values and val.

바깥 프레임은 유지하고 안쪽 조각을 교체하는 모습을 표현한 문자 없는 일러스트

jQuery / Method / .html() - Read or Replace an Element’s Contents

Read the first element’s HTML and replace the contents of all selected elements with .html(). Complete examples explain text and val, user input, replacement events and callback arguments.

가운데 카드에 빛을 비춰 일시적 강조를 표현한 문자 없는 일러스트

jQuery / Method / .hover() - Enter and Leave Events with on Alternatives

Understand .hover() entry and exit handlers and replace them with .on(). A complete example covers child boundaries, dynamic elements, keyboard focus and namespaced binding and removal.

두 패널을 가림판 뒤에 잠시 숨기고 조작부를 바깥에 둔 문자 없는 일러스트

jQuery / Method / .hide() - Hide Selected Elements

Hide elements without removing them using jQuery .hide(), with immediate or timed effects. A complete two-panel example covers retained input, per-element callbacks, show and reset during animation.

순서대로 놓인 타일 중 하나를 꺼내 보는 모습을 표현한 문자 없는 일러스트

jQuery / Method / .get() - Retrieve Selected Elements as an Array

Use .get(index) for a DOM element and .get() for a plain array. Runnable examples explain negative indices, empty selections, the difference from eq and shared node references.

원래 자리 옆으로 잠시 들어 올린 카드가 내부 조각을 유지하는 문자 없는 일러스트

jQuery / Method / .detach() - Remove and Keep Elements for Reuse

Temporarily detach an element with jQuery while retaining its data and events. A complete editable-card example explains restoration, original position, references and the differences from remove and empty.

순서대로 놓인 작업 카드 사이의 모래시계로 대기를 표현한 문자 없는 일러스트

jQuery / Method / .delay() - Delay the Next Operation in an Effects Queue

Learn which jQuery operations wait after .delay(), using a complete show(0) versus show() example. Manage queued work and reset, and use setTimeout for general cancellable tasks.