jquery selector by class first code example
Example 1: select the first elemnt have class in jquery
$( ".box" ).first().css( "font-style", "bold" );
Example 2: get first element by class name jquery
$(".popContent:first").html()
$( ".box" ).first().css( "font-style", "bold" );
$(".popContent:first").html()