this code work ok : (this is xsl
<td style='cursor: hand' onclick="WorkingHour(this.parentElement)">
<table>
<tr>
<td align="Right">
<IMG SRC="Images/ServiceList/med015.gif" alt="{normalize-space(servName)}"></IMG>
</td>
</tr>
</table>
</td>
but when i do :
<td >
<table>
<tr>
<td align="Right" style='cursor: hand' onclick="WorkingHour(this.parentElement)" >
<IMG SRC="Images/ServiceList/med015.gif" alt="{normalize-space(servName)}"></IMG>
</td>
</tr>
</table>
</td>
as u may see i moved the first code td into the second TD!
the problem is that when i do this.parentElement it inst working!
i tried to do : this.parentElement.parentElement and it didnt help too!
what to do?
Bookmarks