I need to check with jquery that a anchor element only has text in it and not any other tag (img, b) or any thing else.
<a href="">TV</a>
Should be found, but :
<a href=""><img /></a>
or:
<a href=""><span>TV</span></a>
or any other HTML tag, shouldn't be found.
How do i do this?
Thanks in advance.