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