Description: Selects the last matched element.
version added: 1.0jQuery( ":last" )
:last selects a single element by filtering the current jQuery collection and matching the last element within it.
:lastis a jQuery extension and not part of the CSS specification, queries using
:lastcannot take advantage of the performance boost provided by the native DOM
querySelectorAll()method. To achieve the best performance when using
:lastto select elements, first select the elements using a pure CSS selector, then use
Finds the last table row.