ListEasy project: removing item - task 4


Continuing the discussion from ListEasy:

In this part of the project we should remove the <p> tag when a .glyphicon-remove is clicked. the <p> tag is the parent of .glyphicon-remove. So we should to remove $(".glyphicon-remove").parent()

here the link of this project


In the link they are using

$(document).on("click", '.glyphicon-remove', function() {
                                      $(this).parent().remove(); });


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.