Missed a line ($this.remove())

On May 15, 11:10 am, Sam Collett <[EMAIL PROTECTED]> wrote:
> You could save a reference to its parent before hand, e.g.
>
> $("a.removeme").click(
>         function(e)
>         {
>                 e.preventDefault();
>                 var $this = $(this), $parent = $this.parent();
                   $this.remove();
>                 $parent.find(".removemetoo").remove();
>         }
> )

Reply via email to