I have a div #popup that is dynamically filled with several paragraphs with the class .filled-text. I\'m trying to get jQuery to tell me if #
#popup
.filled-text
#
There is a hasClass function
if($('#popup p').hasClass('filled-text'))