I want to use `$('body:contains("")')` for searching part of a html code.
var thing = $('body:contains("Web")').text()
This code always alerts "not found".
Is it possible to search a part of a html code and alert if found?
Thank you... Beware that you may see "Web", when inspecting with your browser, but the actual code may contain whitespace or not even have closing tags! Even if the source is "Web" now, stuff like that can break very easily on pages that you do not control.