Ya, I'm getting an empty box, so something is wrong.
> Dude, firstly please stop topping the message and removing the code and replies from your replies. > > secondly: try the below script and see what gets alerted (it should be your numeric ID, if not then you have something wrong somewhere > > $('clones').observe('click',function(evt){ > > var elm = evt.element(); > > if (elm.hasClassName('remove')){ > > evt.stop(); > > var id = elm.id.split('_').last(); > > alert(id); > > return; > > new Ajax.Request('remove_clone.php',{ > > parameters:{clone:id}, > > onSuccess:function(transport){ > > elm.up('li').remove(); > > pollSortable.defer(); > > } > > }); > > ----- Original Message ----- > From: Yan Kovyakh > To: prototype-scriptaculous@googlegroups.com > Sent: Monday, July 20, 2009 7:35 PM > Subject: [Proto-Scripty] Delete php > > They actualy have Item_numericalID > > Is this the problem? --~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---