I have been using a script with jQuery 1.7 with the live()
method here:
https://jsfiddle.net/anacaona83/umpdv484/
The remove()
action with label "Supprimer" is all right.
When I try it with jQuery 2.x it does not work anymore so I changed live()
to on()
but then, the remove action does not work anymore:
https://jsfiddle.net/anacaona83/d87cj64L/
But the remove action does work when the
<TH> <a href="#" id="remScnt">Supprimer</a></TH>
Is not in the
javascript $(function() {
But in the HTML.
This is a problem because I really need to remove()
the new <tr>
I have created with the .appendTo()
method.