Remove doesn't work on dinamically added rows with append()
See original GitHub issueSteps to reproduce:
- Create a table with some hardcoded data on it (just for test purposes. The behavior is still present even when the table has no rows)
- Append a row to the table using the
append
method. - Try to delete your newly-appended row using the
remove
method.
Expected behavior: The row is removed. Actual behavior: Nothing happens.
Note that remove
does work when trying to remove rows that were already present in the table.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11
Top Results From Across the Web
Removing dynamically added row from a table using jquery
The problem is that this row of elements is dynamically inserted and only after the DOM had everything loaded and was ready. In...
Read more >How to dynamically add and remove table rows with javascript
In this one, we add remove table rows using a form and javascript. The videos are focused on javascript so I don't go...
Read more >How to Dynamically Add/Remove Table Rows using jQuery
In this article, we will learn how to dynamically add/remove rows from an ... use the .append() method of jQuery to add a...
Read more >Dynamically Add and Remove rows in a Table Using jquery
in this jQuery tutorial, We'll let you know How to dynamically adding and removing rows in a table using jQuery. Earlier, we managed...
Read more >Dynamically Add/Remove rows in HTML table using ...
For adding dynamic row in table, we have used insertRow() method. This method will insert a row at position specified by the index...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok that worked thanks, but why doesn’t it work with remove?
Works in the latest version: http://jsfiddle.net/qurtg9Ln/3/