1
请原谅我的英语。 我一直在试图创建一个动态表格,它可以在编辑按钮后编辑其中的数据。 问题是我在最后一列创建复选框的列后,我只是不能在jQuery上执行它的点击功能,因为我想。如果按下一个特定的复选框,则取消所有复选框
创建函数如下:
$("#meetingspanel td:last").each(function(event){ // Adding the checking column and showing the editing buttons
$("#btnDelete").fadeIn("slow");
$("#btnRename").fadeIn("slow");
$("<td style=border:0px><input type='checkbox' id='btncb'></td>").insertAfter($("td:nth-child(6)"));
});
,并想,如果我是我用这里面的功能:
$(":checkbox").click(function(event){
alert("im here !");
});
,它只是没有发现,当我点击复选框。 帮助?
太棒了!它现在的作品,现在感谢你, – 2012-02-05 11:42:47
没问题,很高兴我可以帮助:) – 2012-02-05 11:46:28