View Single Post
Old 02-21-2013, 01:42 PM   PM User | #3
m2244
Regular Coder

 
Join Date: Jun 2012
Posts: 129
Thanks: 1
Thanked 1 Time in 1 Post
m2244 is an unknown quantity at this point
Quote:
Originally Posted by hdewantara View Post
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):
Code:
.find('span:contains("' + evt + '")')
Still not working. Returns zero no matter which term I chose.
m2244 is offline   Reply With Quote