Jquery Remove Parent Elements February 28, 2024 Post a Comment I have some third party HTML that looks like this: ).closest('tr').hide(); CopySolution 2: To remove the TR completely$('tr [id$="lblURL"]').closest('tr').remove(); CopySolution 3: You can try using .remove instead of hide, $('#element').parent.remove(); Share Post a Comment for "Jquery Remove Parent Elements"
Post a Comment for "Jquery Remove Parent Elements"