<tr>
 <td  title="This is the description from db">
                                             <img src="/site_media/
contract.png" onclick="showinfo();" alt="Case" title="Case" width="16"
height="16"/>
</td>
</tr>

What I want is when some one clicks on the image   in showinfo()
javascript function I can retrieve the value of "title" from the
enclosing td tag. In this case the value returned should be    "This
is the description from db"

Please note that there are multiple rows with clickable images and
each with different value of title from DB. So corresponding value of
title should be returned.

Reply via email to