How to delete completely added dynamic child div from parent div

Hi there

my question some parts is already answared here

but as you can see in that code when I click on dynamically added delete button .it only delete that
clicked delete button other content of that added div is not getting deleted .

How to delete that child div completely from parent div while clicking on child div’s delete button?

You’re wanting to delete more than just the td that contains the delete button. You want to delete the “emp_block_data” element that contains the delete button. You can easily do that with:


1 Like

Thanks @Paul_Wikins

Working ok awesome

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