Using jQuery :contains selector
Posted
by Alex
on Stack Overflow
See other posts from Stack Overflow
or by Alex
Published on 2010-05-12T22:01:02Z
Indexed on
2010/05/12
22:04 UTC
Read the original article
Hit count: 131
Hello there, I have a div with id kGrowl
and inside that div I have a select element with name = mover
. I try to use this selector:
$('#kGrowl:contains([name=mover])').length
But it is currently returning 0. How is my selector wrong?
Thanks.
© Stack Overflow or respective owner