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