jQuery last() 方法

jQuery 教程 · 2019-03-28 07:58:23

实例

选取最后一个 <div> 元素内的最后一个 <p> 元素:

$("p").last()

定义和用法

last() 方法返回被选元素的最后一个元素。

提示:如需返回第一个元素,请使用 first() 方法。

语法

$(selector).last()

点击查看所有 jQuery 教程 文章: https://codercto.com/courses/l/35.html

查看所有标签

Introduction to Graph Theory

Introduction to Graph Theory

Douglas B. West / Prentice Hall / 2000-9-1 / USD 140.00

For undergraduate or graduate courses in Graph Theory in departments of mathematics or computer science. This text offers a comprehensive and coherent introduction to the fundamental topics of graph ......一起来看看 《Introduction to Graph Theory》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具