if text of an element contains a name jquery code example Example: jquery find by innertext $( "div:contains('innerText')" );