Menu
i have this html code :
<td >
<table>
<tr>
<!–îëåï øðèâï–>
<td align=”Right” style=’cursor: hand’ onclick=”WorkingHour(this.parentElement)”>
<IMG SRC=”Images/ServiceList/leumitIcon.gif” alt=”{normalize-space(servName)}”></IMG>
</td>
</tr>
</table>
</td>
the problem is that this.parentElement isnt correct and i need to reffer not to the inner <TR> (and i do this with parentElement), but i want to reffer to the “outer” <br> !!!
and i dont know how to go to step’s above instead of 1!!!
i tried this.parentElement.parentElement and it didnt’s work!
what to do?
thanks in advance
Peleg