,
, ,, ? ? ?????.
eq
, , first
, last
, slice
, filter, map
, children
? . find
parents
, closest
? siblings
? ?????. ? ??? ??? ? ?? ??? ????? ?? ?? ??? ????? ???? ?? ??? ???? ? ??????. prev
prevAll
next
??? ?? ??? ??? ?????. nextAll
-
-? ???? ?? ??? ??? ???? ??? ??? ????. ???? ???? ?????. ??? ? ?? ??? ?????
- ? ???????. ?? 1.4?? ???? ??? ?? ??? ??? ???? ???? ??? ?? ? ? ????.
eq
$("selector").eq(0)
? - - ???? ???? ?? ???? ? ?? ?? ? ???? ??,
first
? ???? ?? ???? ??? ??? ?????. ?? ??? ?? ??? ???? ????.last
first
- ???? ??? ?? ???? ???? ?? ??? ???? ???last
? ??? ? ????. ? ???? ? ?? ??? ?????. ? ?? ?? ??? ???? ????? ?? ???? ??? ?? ???? ????, ? ?? ?? ??? ??? ????? ???? ?????. ? ?? ?? ??? ?? ????, ???? ???? ?? ????? ? ?? ??? ?????.
-? ???? ?? ??? ???? ???? ??? ??? ???? ??? ??? ??? ?? ?? ???. ??? ???? ???? ????
-
slice
$("li").filter(":even").css( "font-weight", "bold" );???? ???? ?? ??? ?? ? ??? ??? ???? ????.
$("li") .filter(function( index ) { return index % 2 === 0; }) .css( "font-weight", "bold" );
- -? ??? ???? ?? ???? ? ??? ?? ??? ?? ? ????. ??? ?? ??? ???? ????? ??? ? ? ????.
children
-? ??? ?? ?? ???? ? ??? ?? ??? ????, ?? ??? ?? ??? ?? ??????. ? ?? - ? ?? ? ??? ?? ??? ?? ??? ????. ?? ??? ????? ??? ?? ??? ?? ??? (find)? ??? ? ????.
find()
-? ???? ?? ???? ? ??? ?? ??? ?????. ?? ??? ???? ???? ????? ??? ? ? ????.*
-? ??? ????? ? ??? ?? ??? ?????. ?? ??? ??????? ??? ??? ?? ??? ?????. - ?
parent
? ???? ??? ? ?? ? ?? ???? ?? ? ??? ?? ??? ?? ????? ????. -
-? ???? ?? ??? ??? ? ?? DOM ??? ???? ???? ??? ???? ???? ? ?? ??? ?????.
parents
? ???? ? ?? ??? ??? ????.? ??? ?? ???? ????? ???? parent()
? ?? ???? ????? ?????. ? ?? ???? ? ??? ?? ? ??? DOM ??? ???? ??,parents()
? ??? ?? ??? ?? ? ??? ?????.parents()
-? ???? ?? ?? ???? ? ??? ?? ??? ?????. ????? ???? ?? ??? ???? ???? ???? ?? ?? ? ?? ? ????. -
closest
-? ???? ????? ? ??? ??? ??? ????. ???? ???? ?? ???? ???? ???? ???? ??? ?????.parents()
closest()
-? ??? ????? ? ??? ?? ?? ??? ?????. ?? ??? ?????, ?? ? ??? ???? ?? ???? ?? ? ? ????.parents()
closest()
-? ???? ???? ?? ?? ?? ??? ?? ? ?????. ???? ???? ??? ? ?????.closest()
parents()
-? ??? ????? ? ??? ?? ?? ?? ??? ?????. ?? ??? ???? ???? ????? ??? ? ? ????. -
DOM Traversal siblings
? ??? ? ?? ??DOM? ?? ? ? ?? ???? ????? ? ?? ??? ??? ????? ?? ?? ??? ?? ???? ??? ??? ? ????. JQuery? ??? ?? ??? ???? ? ??? ??? ??? ?????. - -? ???? ?? ?? ??? ?? ? ??? ??? ???? ? JQuery ??? ????. ??? ??? ?? ????
add
???? ???? ???? ?? ? ???? ??? ????.add
- jQuery? ?? ??? ?? ??? ???? ?? ??? ?????. ???? ??? ???? ??? ?? ??? ??? ?????. ?? ? ? ?? ??? ?? ????? ???? ??? ? ????. -
addBack
-? ??? ?? ??? ??? ??? ???? ??? ?? ??? ?????. ?? ?? ??? ??? ?? ??? ???? ?? ??? ?? ? ?? ?? ?? ??? ????? ??? ?????.addBack
- ??? ? ?? ??? ??? ?? ?? ??? ?? ??? ?????? ???? ??? ? ????. ? ???? ???? - ? ??? ?? ? ???? (? ???? ??? ?????? ??).
end
- ?? ?? ??? ?? ??? ???? ???? ?? - ? ?? ??? ?? ?? ? ????? ? ??? ? ????. ?? 1.4?? ?? ??? ??? ?? ??? ?? ? ??? ????? ???? ??? ?? ? ? ????. ??? ??? ???? ??? ??? ? ???? ?????.
contents
contents
<iframe></iframe>
??jQuery? ??? ?? ??? ? ?? ???? ?? ?? ??? ?? ??? ??? ??? ?????. ??? ?? ? ??? ?? ?? ???? ??? ?????? ???? ?? ????. ? <iframe></iframe>
?? ? - ? ??? ???? ?? ???? ? ??? ??? ?? ? ? ????.
not
? ??? ???? ????. ?? ???? ???? ?? ?? ???? ??? ???????! jQuery dom Traversal faq jQuery dom Traversal? ??? ?????? not()
jQuery dom Traversal? ? ??? ?? ????, ???? ?? ?? ?? (DOM)? ?? ???? ?? ? ? ????. ? ????? ??? ?? ??? ? ??? ??? ??? ???? ???? ?? ??? ?? ???? ??? ??? ?? ? ? ????. ???? ? ???? ???, ??? ??? ??? ???? ?? ??? ? ????. DOM? ?? ??? ??? jQuery? ??? ? ? ????? ??? ??? ????.
????? ?? .parent()? ???? ? ?????. ??? ???? ??? ?? ?? ??? ??? ???? ? ?????. ?? ???? ??? ?????. jQuery? ???? ?? ??? ???? ??? ???? ? ?????. ??? ??? ?????. ???, ?? ?? jQuery ??? .parent()
???? ?? ? ? ????? .children()
jQuery? ???? ??? ?? ?? ??? ???? ? ?????. ?? ??, ?? ?? ???
<div>? ??? ?? <code><div>? ?????. <code>.parent()
? ??? ???? ??????
.children()
?
.children()
?? ??? ?? ??? ???? ? ????? ?? ??? ?????. <div> ???? ? ??? ????? ?? ???? ?? ?? ?? ? ?????. ??? ??? ?? ??? DOM ??? ?? ?? ?? ? ???, ?? ???? ??? ???? ??? ??? ?? ??? ??? ? ??? ?????. <h3>
<use> jQuery dom traversal?? <code>.find()
???? ??? ?????? .children()
jQuery?
???? ??? ??? ?? ?? ??? ???? ? ?????. ?? ??? ??? ?? ??? ???? ??? ?????. ?? ??, ?? ?? ?? ????? ?? ? ???? ?? ?? .find()
.children()
??? ??? ?????? .children()
.find()
jQuery? ? ? ?? ??? ????
.siblings()
? ? ?? ?? ?? ?????. .siblings()
???? ?? ? ? ?????
jQuery? ?
<div> ???? ?? ??? ? ?? ? ??? ??? ???? ? ?????. ?? ??, <code><div> ?? ????? ?? <code>.siblings()
? ???? ???? ? ?? <div>? ???? ? ??? ? ?????. <h3>
<use> jQuery dom traversal?? <code>.eq()
???? ??? ??????
.eq()
???? ??? ? ???, ??? ? ???? ?? ? ?????. ?? ?? ??? ?? ?? ??? ???? ??? ?? ?? ? ?? ??? ?? ? ????. .eq(0)
??? ??? ??????
jQuery? ???? ????? ??? ???? ? ?????. .not()
.not()
???? ??? ? ???, ?? ???? ?? ??? ???? ?? ??? ???????. .filter()
.not()
???? ?? ? ? ????? ??? ?? ????? ??? ???? ? ?????. ??? ?? jQuery ???
.has()
???? ??? ? ???,? ???? ?? ??? ???? ?? ??? ??? ???? ?? ??? ???????. ??? ??? ????? ?? ??? ????? ?? ?????.
? ??? jQuery dom Traversal? ?? ??? ? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

Node.js?? HTTP ??? ???? ? ?? ???? ??? ????. 1. ?? ????? ????? ??? ??? ? ?? ????? ?? ?? ? https.get () ??? ?? ??? ??? ? ?? ????? ?? ??? ?????. 2.axios? ??? ???? ? ?? ??????. ??? ??? ??? ??? ??? ??? ???/???, ?? JSON ??, ???? ?? ?????. ??? ?? ??? ????? ?? ????. 3. ?? ??? ??? ??? ??? ???? ???? ??? ??? ???? ?????.

JavaScript ??? ??? ?? ?? ? ?? ???? ????. ?? ???? ???, ??, ??, ?, ???? ?? ? ??? ?????. ?? ????? ?? ?? ? ? ??? ????? ?? ??? ??? ????. ??, ?? ? ??? ?? ?? ??? ??? ??? ???? ??? ??? ???? ??? ?? ??? ????. ?? ? ????? ??? ???? ? ??? ? ??? TypeofNull? ??? ?????? ??? ? ????. ? ? ?? ??? ???? ?????? ????? ???? ??? ???? ? ??? ? ? ????.

?? JavaScript ??? ??? ??? ?????? ?? ??? ?? ?? ??? ?? ???? ????. 1. ??? ???? ???? ?? ??? ?? ? ? ???? ??? ??? ?? ? ?? ????? ?????. 2. Angular? ?????? ??? ?? ???? ? ?? ?? ??? ??? ??? ???? ?????. 3. VUE? ???? ?? ??? ???? ?? ?? ??? ?????. ?? ?? ?? ??, ? ??, ???? ???? ? SSR? ???? ??? ??? ??? ???? ? ??? ?????. ???, ??? ??? ??? ????? ????. ??? ??? ??? ??? ?? ????.

?????, JavaScript ???! ?? ? JavaScript ??? ?? ?? ?????! ?? ?? ??? ??? ??? ? ????. Deno?? Oracle? ?? ??, ??? JavaScript ?? ??? ????, Google Chrome ???? ? ??? ??? ???? ?????. ?????! Deno Oracle? "JavaScript"??? ????? Oracle? ?? ??? ??? ??????. Node.js? Deno? ??? ? Ryan Dahl? ??? ?????? ???? ????? JavaScript? ??? ???? Oracle? ????? ???? ?????.

Cacheapi? ?????? ?? ???? ??? ???? ???, ?? ??? ??? ?? ???? ? ??? ?? ? ???? ??? ??????. 1. ???? ????, ??? ??, ?? ?? ?? ???? ???? ??? ? ????. 2. ??? ?? ?? ??? ?? ? ? ????. 3. ?? ?? ?? ?? ?? ??? ??? ?? ?????. 4. ??? ???? ?? ?? ???? ?? ?? ?? ?? ?? ???? ?? ?? ??? ??? ? ????. 5. ?? ???? ??, ??? ??? ? ??? ??, ?? ??? ? ?? ???? ???? ???? ? ?? ?????. 6.?? ??? ?? ?? ?? ??, ???? ?? ? HTTP ?? ????? ?????? ???????.

??? JavaScript?? ??? ??? ?????? ?? ???????. ?? ??, ?? ?? ? ??? ??? ?? ????? ????? ?????. 1. ?? ??? ??? ????? ???? ??. ()? ?? ??? ??? ?????. ?. ()? ?? ??? ?? ??? ??? ?? ? ? ????. 2. ?? ??? .catch ()? ???? ?? ??? ??? ?? ??? ??????, ??? ???? ???? ????? ??? ? ????. 3. Promise.all ()? ?? ????? (?? ?? ?? ? ??????? ??), Promise.Race () (? ?? ??? ?? ?) ? Promise.AllSettled () (?? ??? ???? ??)

.map (), .filter () ? .reduce ()? ?? JavaScript ?? ?? ???? ??? ??? ??? ? ? ????. 1) .map ()? ??? ??? ??? ???? ? ??? ???? ? ?????. 2) .filter ()? ???? ??? ????? ? ?????. 3) .reduce ()? ???? ?? ??? ???? ? ?????. ???? ??? ????? ??? ?? ?? ??? ?????.

JavaScript? ??? ??? ?? ??, ? ? ? ?? ???? ???? ??? ??? ?????. 1. ?? ??? ?? ??? ???? ??? ??? ??? ??? ?? WebAPI? ?????. 2. WebAPI? ??????? ??? ?? ? ? ??? ?? ??? (??? ?? ?? ???? ??)? ????. 3. ??? ??? ?? ??? ?? ??? ?????. ?? ??? ??? ????? ??? ??? ?? ? ???? ?????. 4. ???? ?? (? : Promise. 5. ??? ??? ???? ?? ???? ???? ?? ?? ?? ??? ????? ? ??????.
