[Solved] Remove only selected elements from html dom September 17, 2022 by Kirat $('button').click(function(){ $('#inner1').remove(); }); jsFiddle example See: http://api.jquery.com/remove/ 0 solved Remove only selected elements from html dom