Here's come code from the Examples section of the "hide()"
documentation (http://docs.jquery.com/Effects/hide#examples):

$("div").click(function () {
  $(this).hide(2000, function () {
    $(this).remove();
  });
});

You can do the same thing with "fadeOut" or any of the other effects
(http://docs.jquery.com/Effects)

You can do a similar thing with "show" (or "fadeIn", etc).

$('<div>Text</div>')
  .hide()
  .appendTo(somewhere)
  .fadeIn(1000);

Karl Rudd

On Fri, Mar 7, 2008 at 1:04 PM, Fabien Meghazi <[EMAIL PROTECTED]> wrote:
>
>  Is there a way to animate remove() and html() like it's possible to
>  hide("slow") ?
>
>  --
>  Fabien Meghazi
>
>  Website: http://www.amigrave.com
>  Email: [EMAIL PROTECTED]
>  IM: [EMAIL PROTECTED]
>

Reply via email to