Thanks Guys,
It worked like a charm...

Gurpreet

On 6/20/07, Scott Sauyet <[EMAIL PROTECTED]> wrote:
>
>
> G[N]Urpreet Singh wrote:
> > I cannot "remove" the parent of an element in IE6.  The behavior in IE6
> > is that only the first of the parents is getting removed and then it
> > stops working.
> > [ ... ]
> >     <div>This is div 1 <span id="trash">Del</span></div>
> >     <div>This is div 2 <span id="trash">Del</span></div>
>
> You cannot have multiple elements with the same id.  It's not allowed by
> the HTML specs, and JQuery doesn't know what to do with it.  Try it with
>
>      <span class="trash">
>
> and a selector
>
>      $(".trash").click( // ...
>
> Cheers,
>
>    -- Scott
>
>


-- 
Gurpreet Singh

Reply via email to