Here is my HTML:
<td>
<a class="link" href="#">
<span class="download">Link</span>
</a>
<a class="link" href="#">
<span class="csvdownload">Link 2</span>
</a>
</td>
I need to set this CSS:
a.link {
display: none;
}
But only to the <a>
that contains the span with the class csvdownload
Ideally need to do this strictly with javascript not a plugin like jQuery...