I have some rows of a table (ick!) such as:
<tr id="similar_story">
<td class="title"><a href="/">Title</a> <a href="../"><img id="srcimg" src="source.png" style="display:none"></a></td>
</tr>
this is repeated x times [for each similar story], and when a user hovers over the .class row I want #srcimg (for that row) to appear.
When that row loses focus, the #srcimg should disappear.
What is the suitable method to do this via jquery? I tried doing something along the lines of:
jQuery('td.title').mouseover(function() {
jQuery.('#srcimg').visible();
});
But that (obviously?) shows the #srcimg on every row. Whereas, I just want to show the one in that table row.
I guess there has to be some traversal to locate the appropriate image?