github pages - Jquery error not showing up on firebug -
I am editing this repo on gitub and I have participated in a problem. This is the live page
The problem is that once I click on add partner the partner is added, but when I click on
click delete partner click I do not do anything.I should say what I have done a few clicks.
This is jquery code
Because the warning is not visible, I have concluded that there may be an error but this error is not shown on firebug Is going and I wonder what the problem might be. Use
$ (document) .on ('click', '.delete_partner')
, Function () { instead.) This event will bind to the document. The way you declared the function, it means that it's dynamically created '.delete_partner' element; This will only be linked to the existing '.delete_partner' elements that are present when the document is ready.
Comments
Post a Comment