0

I realize that I can use get(#) or [#] to get the DOM object contained within a "multi-object" jQuery object. I am also familiar with iterating over a jQuery object, but in this case, I'd like to access the jQuery sub-object at an index. Is this possible (it seems like it should be given this existence of .first() and .last())?

1

1 Answer 1

1

jQuery has the .eq() method for this purpose.

Docs: http://api.jquery.com/eq/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.