# \[javascript\] Check if the dynamically generated checkbox is checked!

**URL:** <https://www.ruby-forum.com/t/javascript-check-if-the-dynamically-generated-checkbox-is-checked/140528>\
**Category:** Rails\
**Created:** [June 15, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/javascript-check-if-the-dynamically-generated-checkbox-is-checked/140528 "2008-06-15T20:07:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flaubert](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/858c86/32.png) [@flaubert](https://www.ruby-forum.com/u/flaubert)\
**Post date:** [June 15, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/javascript-check-if-the-dynamically-generated-checkbox-is-checked/140528/1 "2008-06-15T20:07:53Z")

</div>

hello all,

I have a table. the rows of this table are generated dynamically. some  
“tds” have informations and one of them have a checkbox.

looping through this table I need to check if the chekbox in that “TD”  
is checked

any idea??

thnks!!

---

<div class="post-metadata">

**Author:** ![flaubert](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/858c86/32.png) [@flaubert](https://www.ruby-forum.com/u/flaubert)\
**Post date:** [June 15, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/javascript-check-if-the-dynamically-generated-checkbox-is-checked/140528/2 "2008-06-15T20:30:36Z")

</div>

jQuery(‘table td :checkbox:checked’);
