jQuery-hide()跟remove()

jQuery-hide()和remove()scriptfor (var i 0 i 5 i++) {$(div).appendTo(document.body)}$(

jQuery-hide()和remove()

<script>    for (var i = 0; i < 5; i++) {      $("<div>").appendTo(document.body);    }    $("div").click(function () {      $(this).hide(2000, function () {        $(this).remove();      });    });</script>

?