Posts by Cesar William • 136 points
1 post
-
2
votes2
answers501
viewsA: Function jQuery called by two distinct elements at once
The problem is that every time you click the "button. remove" you are creating an Handler to the "#yes" button with the current value of "line" (via closure). That way when the user clicks the "yes"…