how to get first element of class jquery code example Example: get first element by class name jquery $(".popContent:first").html()