Can't get the right selector for my forms

Can't get the right selector for my forms

Hey all.

I have a problem that I couldn't solve myself.

I have 2 forms. name="form1" and name="form2"

In each form, there's the same class names for rows. <tr class="draggable">

What I need to do, is to take the last draggable row in a certain form.

$( tr_object + " tr.draggable:last" ) <- returns the last tr with class draggable in whole document. How do I limit It's view/search scope to one of the forms only?

Thanks