jquery if a div contain a text code example
Example 1: jquery find by innertext
$( "div:contains('innerText')" );
Example 2: jquery label with text
var element = $("label:contains('SuperSweetCheckbox')");
$( "div:contains('innerText')" );
var element = $("label:contains('SuperSweetCheckbox')");