How to get a related element with Jquery?
Posted
by Jova
on Stack Overflow
See other posts from Stack Overflow
or by Jova
Published on 2010-05-11T08:38:46Z
Indexed on
2010/05/11
8:44 UTC
Read the original article
Hit count: 188
jQuery
<div class="severalDivs">
<table>
<tbody>
<tr>
<td class="target">
<a href="link"></a>
</td>
<tr>
</tbody>
</table>
<div class="fromHere">
<a href="somescript()"></a>
</div>
</div>
How do I with Jquery get "link" in "target" when clicking the anchor with "somescript()" in "fromHere"?
Hope It's clear what I want to do. =)
© Stack Overflow or respective owner