I have the below html structure, i want to find the inner html of first div with class as \"popcontent\" using jQuery
-
2020-12-14 06:08
you can use :first
selector in this case
$('.popContent:first').text();
DEMO
-
2020-12-14 06:14
Use the Jquery :first selector like below :
$(".popContent:first");