jquery check if there is text in the dom code example Example: jquery label with text var element = $("label:contains('SuperSweetCheckbox')");