last selector
Description: Selects the last matched element.
version added: 1.0jQuery( ":last" )
Note that :last
selects a single element by filtering the current jQuery collection and matching the last element within it.
Additional Notes:
- Because
:last
is a jQuery extension and not part of the CSS specification, queries using:last
cannot take advantage of the performance boost provided by the native DOMquerySelec