可以动态添加完之后,统一绑定事件
$("#tables td").click(function(){ console.log($(this).text())})
亦可以每生成一个元素就绑定事件,不过这样你的html需要修改,改为循环插入td