To access the first item, simply use [0]or.get(0)
prevObjectis the result of a previous jQuery function call if the calls were connected together. This is what allows the call to .end()return the jQuery chain back to its previous state.
source
share