How can I remove the very last DIV identified by id begining with letters “section” (eg: “section99″)
in a DIV identified by id=”groupA”
currentTab = "A";
$('#subPart').click(function() {
name = "#group" + currentTab;
....
$(something).remove();
return false;
});
Try This script