Originally Posted by hdewantara
I didn't know there was a CSS pseudo class :contains
, and as I search the w3c reference this has already been deprecated.
Nevertheless jQuery implements it and so perhaps your line should be something like below, or the reverse (flip the double-quotes with the singles):
.find('span:contains("' + evt + '")')
Still not working. Returns zero no matter which term I chose.