In your layout, you are not using the A tag, but rather the LI tag to
carry the ID. Since that's the case (which is why you are using
"this", I think) maybe the thing to do is to change
elm.up('li').remove(); to elm.remove() and see if that does the trick
for you.
Walter
On Jul 21, 2009, at 6:12 PM, Yan Kovyakh wrote:
> WOW Great! Though it’s still aren’t removing the link dynamically:
> elm.up('li').remove(); neither by: $(this).remove();
> Thanks for the amazing support so far!
>
> > its $_POST['clone']
> >
> > not $_POST['the_id']
> >
> > thats why !!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---