国产gaysexchina男同gay,japanrcep老熟妇乱子伦视频,吃奶呻吟打开双腿做受动态图,成人色网站,国产av一区二区三区最新精品

App下載
首頁javascriptchildren_indexjQuery Selector - 如何通過索引突出顯示子項

jQuery Selector - 如何通過索引突出顯示子項

我們想知道如何通過索引突出顯示子項。

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-1.5.2.js'></script>
<script type='text/javascript'>
$(window).load(function(){
    $('div p').eq(2).css('background','yellow');
});
</script>
</head>
<body>
  <div>
    <p>test</p>
    <p>test</p>
    <p>test</p>
    <p>test</p>
    <p>test</p>
    <p>test</p>
  </div>
</body>
</html>