jquery contains match code example Example: jquery label with text var element = $("label:contains('SuperSweetCheckbox')");