Answers for "jquery delete child of div"

4

jquery remove elemtns

.remove("#elemnt_id .elemnt_class");
Posted by: Guest on March-05-2020
-2

delete div based on select

$('#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();
  });
Posted by: Guest on May-24-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language