Answers for "jquery remove element and parent"

1

how to remove the parent div from the child in jquery

$(this).closest('.parentClassname').remove();
Posted by: Guest on November-05-2020
0

remove parent tr jquery

$(this).closest('tr').remove();
Posted by: Guest on June-10-2021

Code answers related to "jquery remove element and parent"

Code answers related to "Javascript"

Browse Popular Code Answers by Language