The fade out effect of jQuery after deleting an element shows the deletion process

From , 5 Years ago, written in JavaScript, viewed 86 times.
URL https://pastebin.vip/view/8ad56037
  1. // http://www.sharejs.com
  2. $("#myButton").click(function() {
  3.          $("#myDiv").fadeTo("slow", 0.01, function(){ //fade
  4.              $(this).slideUp("slow", function() { //slide up
  5.                  $(this).remove(); //then remove from the DOM
  6.              });
  7.          });
  8. });
  9. //javascript/8794

Reply to "The fade out effect of jQuery after deleting an element shows the deletion process"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website