JQuery Remove Parent Elements April 04, 2023 Post a Comment I have some third party HTML that looks like this: ).closest('tr').hide(); Copy Solution 2: To remove the TR completely $('tr [id$="lblURL"]').closest('tr').remove(); Copy Solution 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"