JQuery first method code example
Example 1: get first element by class name jquery
$(".popContent:first").html()
Example 2: select the first elemnt have class in jquery
<script>
// jquery
$( "tr:first" ).css( "font-style", "bold" );
</script>
$(".popContent:first").html()
<script>
// jquery
$( "tr:first" ).css( "font-style", "bold" );
</script>