一、前言

        接着上一章的内容,继续本章的学习。

 

二、内容

.get  获得由选择器指定的DOM元素,
      可输入匹配元素的index编号
      $(selector).get(index) 


.index  获得第一个匹配元素相对于其同胞元素的index位置
        $(selector).index(element)


.size  返回被jQuery选择器匹配元素的数量
       $(selector).size()


.toArray  以数组的形式返回jQuery选择器匹配的元素
       $(selector).toArray()

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2021-11-28
  • 2021-12-26
  • 2022-12-23
  • 2021-11-28
猜你喜欢
  • 2021-09-24
  • 2021-11-28
  • 2021-12-26
  • 2021-11-30
  • 2021-10-20
相关资源
相似解决方案