I need to check whether an img src is empty and then apply a class to another element.
Here is the HTML
<span class="page-icon"><img src="" width="40" height="40" alt="Privacy" /></span>
If the img src is empty, apply the class hide to the span.page-icon.
Use an attribute selector to get
imgelements with an empty src attribute.