I have some html like this:
Volume = 相关标签:
Volume =
Try this:
$("button").click(function () { $(this).parents("div:first").html(...); });
$(this).parents('div').attr('id');
This can be easily done by doing:
$(this).closest('table').attr('id');
You attach this to any object inside a table and it will return you the id of that table.