# Dynamic table row adding/deleting

**URL:** <https://forum.kirupa.com/t/dynamic-table-row-adding-deleting/300190>\
**Category:** web dev\
**Created:** [November 17, 2009, 1:16pm UTC](https://forum.kirupa.com/t/dynamic-table-row-adding-deleting/300190 "2009-11-17T13:16:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![redelite](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@redelite](https://forum.kirupa.com/u/redelite)\
**Post date:** [November 17, 2009, 1:16pm UTC](https://forum.kirupa.com/t/dynamic-table-row-adding-deleting/300190/1 "2009-11-17T13:16:34Z")

</div>

Hey guys,

I’m trying to develop a small application and one of the objects that goes along with it is a table that has form fields in it. The table needs to have an add row button to add a new row obviously as well as a delete button to remove a row if necessary.

Well, I got the table set up and I’m using jQuery to add a row with a unique ID for the form elements however, for some reason, the remove code will NOT remove dynamically generated content.

Any ideas why? The files are attached.

Thanks! 😃
