There is a table 'OfficeInfo' with two rows with 2 cell each. Each cell will have Office info like name, address, phone and direction link. I need to hide the direction link (google map link based on the address value) or hide the whole cell if other info like name, addreses, phone etc are blank..lets say everything else is empty, hide the 'map and directions' link as well or the whole cell...How to do in Jquery?
<table class="OfficeInfo" border="0" style="width: 100%" cellspacing="10px" cellpadding="15px">
<tr>
<td class="Office1" style="width=40%">
<span class="OfficeName">
Munster Women's Center<br />
</span>
<span class="Address">
1111 North Ronald Reagan Pkwy, <br /> Avon,IN 46123
</span>
<span class="Phone">
(317) 342-1254</span><br />
<a class="mapdirectionsLink" href="#">map & directions></a>
<br />
<br />
<span class="Hours">
MTW: 9:00 AM- 5:00 PM
</span>
</td>
<td>
<span class="OfficeName"> </span>
<span class="Address"></span>
<span class="Phone"></span>
<br />
<a class="mapdirectionsLink" href="#">map and directions</a>
<br />
<br />
<span class="Hours"></span>
</td>
</tr>
<tr>
<td>
Office3
</td>
<td>
Office4
</td>
</tr>
</table>