jquery remove element
$( ".class" ).remove();
$( "#id" ).remove();
$( "div" ).remove();
jquery remove element
$( ".class" ).remove();
$( "#id" ).remove();
$( "div" ).remove();
how to remove html element in jquery
$("button").click(function(){
$("p").remove();
});
remove jquery
$("#demo").remove(); // removes the selected element
$("#demo").empty(); // removes children
$("div").remove(".cl1, .cl2"); // removes divs with the listed classes
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();
});
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us