-1
rated 0 times
[
2]
[
3]
/ answers: 1 / hits: 61151
/ 13 Years ago, wed, march 30, 2011, 12:00:00
I'm trying to find the following node within a page:
<span class=dotted>Admin</span>
I've tried the following jQuery selectors, but neither seem to work in selecting the node:
$(.dotted span:contains('Admin')).css(color,red);
$(span:contains('Admin') .dotted).css(color,red);
What am I doing wrong?
More From » jquery