Answers for "jquery make element fade out"

5

on click fade out jquery

$(document).ready(function(){
  $("button").click(function(){
    $("p").fadeOut(2500);
  });
});
Posted by: Guest on February-05-2020
3

fadein fadeout jquery

$('.btn-cart').click(function(e) {
		e.preventDefault();
		$('.cartlist').fadeIn().addClass('active');
	});

	$('.btn-cartlist-close').click(function() {
		$('.cartlist').removeClass('active').fadeOut();
	});
Posted by: Guest on December-15-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language