Check text in a element.