I’m sure it’s pretty easy, but I just can get it to work.
I have the following structure:
<div class="row forWidget"></div>
<div class="droppable"></div>
I have the first element in my jQuery object.
$widget = $('div.row');
And I want to .find() the element div.droppable from there.
How do I achieve this?
I thought it would be .next(), but it seems to only match real siblings.
You serach for the
.next()var next = $(‘div.row’).next();
http://api.jquery.com/next/
From jQuery site