var foundin = $('*:contains("the")').last();
works on the page but
var foundin = $('*:contains("©")').last();
returns nothing even if '& copy' appears in the page source. I tried to avoid the "&", but that would not work either. Is there any way I use contains to find an HTML encoded character on a page?
Basically, I want to find an element containing & copy; and disassemble it to get the copyright holder. I asked a similar question related to this using regex: choose an HTML text element with regex?
source
share