there is a link and right next to it is a link image embedded.
Like ‘driving direction + car image”‘
if there is no ‘driving direction’ text for link, hide the care image icon embedded..
How do you do that in jquery??
please someone?
<span class="website">
<a href="http://www.google.com">Visit My Website</a>
</span>
<img class="websiteimage" src="/Style Library/Images/design/icons/icon-www.png" alt="WebSite" />
so basically check if a tag has any text in it and if its empty hide the img tag embedded pic
No idea if this works, but here’s what I would try: