Answer the question
In order to leave comments, you need to log in
How to find the first element with a given class using jquery?
Hello.
How to find the first element with a given class using jquery?
Answer the question
In order to leave comments, you need to log in
$('.class:first')
or
$('.class').first()
$('.class').eq(1)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question