[jQuery] html() can not get updated form value

[jQuery] html() can not get updated form value


I'm not sure if this is a bug or feature, but I can not get it to
work, any advice will be appreciated
I have some textbox fields in a table and I wrap them in a tbody, I
tried to move that chunk of code around, so I fetch it with html()
function, but the problem is that only get me original html values, if
I changed something (like typed something in the textbox), those
changes will be lost.
it's my first post in google group and I don't know if html tag is
allow here, anyway, I'll try to put some code below to clarify my
point, bear with me if I failed.
my table/form:
<tbody class="test_group">
<tr>
<td><input type="text" name="my_title" value="">
.......
</tr>
</tbody>
javascript code:
var my_block = $("tbody.test_group").html();
alert(my_block);
my_title will show the empty value as I initially assigned, but
ignored the value I put later. I can get around with this problem by
get the value of textbox first, then assign it to itself on
javascript, but it's so ugly I'd like to hear from you guys first
Thanks a bunch.
Shanwa