I have a button which on click adds checkbox and text fields. Also I'm counting the checked boxes - which doesn't seem to be working. So I added 2 more "static" ones and it works. The strange thing is the one added through appendTo() are only being counted after I click on the "static" boxes. What I mean, for example Click on appendTo() checkbox - 0 counted Click a "static" one - It shows two, which is correct.I have a button which on click adds checkbox an