next

English [nekst] US [n?kst]

adj. ..

???? next() ??? ???

??: next()? ???? ?? ??? ? ??? ?? ??? ?? ??? ?????. ???? ???? ???? ???? ?? ?? ??? ?????. N ??: e.next(Selector)

????:

???? ?? ??? ?, ???? ??? ?? ??? ??? ??. ??: DOM ?? ??? ???? jQuery ??? ?? ?? .next() ???? ???? DOM ??? ?? ?? ?? ?? ?? ??? ???? ??? ???? ? jQuery ??? ??? ? ????. ???? ??. ? ???? $() ??? ??? ?? ??? ??? ??? ??? ???? ?????. ?? ?? ??? ???? ???? ?? ??? jQuery ??? ????, ??? ??? ?????.
Selector

???? next() ??? ?

<!DOCTYPE html>
<html>
<head>
  <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
</head>
<body>
  <p>Hello</p>
  <p class="selected">Hello Again</p>
  <div><span>And Again</span></div>
<script>
  $("p").next(".selected").css("background", "yellow");
</script>
</body>
</html>
???? ?? ?

??? ????? ??? "???? ??" ??? ?????