jquery get all text containing code example Example: jquery find by innertext $( "div:contains('innerText')" );