//绑定labelId var label = "<td>....<td/>"; var $tr = $(label); $tr.data("labelId",v.labelId); $("#table_content").append($tr);