Selecting all images in a <td> tag and disabling them
Posted
by Cen
on Stack Overflow
See other posts from Stack Overflow
or by Cen
Published on 2010-03-26T00:14:17Z
Indexed on
2010/03/26
0:23 UTC
Read the original article
Hit count: 423
My HTML looks something like this:
<table class="disabled">
<tr>
<td>
<input blah blah>
</td>
<td>
<img id="reallyLongASP.NetID" etcetc/>
</td>
</tr>
</table>
In all with a class indicated as "disabled", I want to set visibility: hidden on the <img>
. I can disable using the crazy id ASP.Net gives, but would like to do a general statement that affects every control in the <table>
Thanks for the help in advance,
© Stack Overflow or respective owner