how to reload page body once deleted in javascript code example Example: jquery reload page $('#myElement').click(function() { location.reload(); });