.remove in jquery

JavaScript
$( ".hello" ).remove();
.remove("#elemnt_id .elemnt_class");$('#record_nav ul li').on('click', function(e){
      $('#record_nav ul li.selected').removeClass('selected');
      $(this).addClass('selected');
      $('.content').hide();
      var id = $(this).data('target');
      $(id).show();
  });
Source

Also in JavaScript: