Dave,

><div class="student">
><td width="100%"  class="student"><input type="hidden" name="stu_1"
>id="stu_1" value="1" class="studentField">Alvarado, Dave (ID: 3)</td></
>div>
>
>How do I extract this value?  Thanks, - Dave

I think you're going to have issues trying to drag a <td /> cell around. It
could cause unexpected results.

To answer your direct question though, this should grab the value of the
hidden form field:

$("input:hidden", $(drag)).val();

Or you could use:

$(drag).find("input:hidden").val();

And dozen more. I'm not sure which of the two is this most "efficient"
method, but I tend to use the first option.

-Dan

Reply via email to