How can i find the next element by class.
i tried with $(obj).next('.class'); but this return only classes in $(obj) parent I need to take the next element anywhere throughout the code by class name. Because my code looks like
<table>
<tr><td><div class="class">First</div></td></tr>
<tr><td><div class="class">Second</div></td></tr>
</table>
Is this possible? Thank you in advance.