thats why !!
----- Original Message -----
From: Yan Kovyakh
Sent: Tuesday, July 21, 2009 10:22 PM
Subject: [Proto-Scripty] Delete php
I don't know whether I'll be able to find a problem as I'm not that good in
Here's again the script: http://pastie.org/554101
And the remove_clone: http://pastie.org/554099
> Can you make a regular POST to the delete script (using a test form)
> and see if it responds in any way? I remain convinced that your
> problem is in that script, nowhere else.
> On Jul 21, 2009, at 4:01 PM, Yan Kovyakh wrote:
> > I do see the real ID of an item, no errors, nothing changed since
> > adding the
> > code you've gave. And again in the firebug XHR tab for the POST
> > remove_clone.php in the tab Post I see "clone theRealID" without "" of
> > course. Nothing in HTML or Response tabs.
> >> Do you actually see the real ID number, or do you see 'theIDnumber'?
> >> Can you turn on error reporting in your remove_clone.php?
> >> ini_set('display_errors',1);
> >> error_reporting(E_ALL);
> >> As close to the top of the PHP script as you can get it.
> >> Walter
> >> On Jul 21, 2009, at 2:58 PM, Yan Kovyakh wrote:
> >> In the post of remove_clone.php I see "clone theIDnumber" in response
> >> tab see nothing...
> >>> change
> >>> elm.up('li').remove();
> >>> to
> >>> $(this).remove();
> >>> and it will remove the element that was clicked
> >>> Alex Mcauley
> >>> ----- Original Message -----
> >>> From: "Walter Lee Davis" <wa...@wdstudio.com>
> >>> To: <email@example.com>
> >>> Sent: Tuesday, July 21, 2009 7:53 PM
> >>> Subject: [Proto-Scripty] Re: Delete php
> >>> What does Firebug say your return from Ajax.Request looks like? You
> >>> should be able to see it in the Console tab, you'll see a POST and
> >>> then the response from that.
> >>> Walter
> >>> On Jul 21, 2009, at 2:31 PM, Yan Kovyakh wrote:
> >>>> Alert works up to the last 2 lines, up to the
> >>>> elm.up('li').remove();
> >>> Try console.log(elm.up('li')) and see what you get in Firebug, that
> >>> should return the HTML for your list item if there is an enclosing
> >>> LI
> >>> element around elm. If elm is the link (not the li) then you should
> >>> be golden.
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 firstname.lastname@example.org
To unsubscribe from this group, send email to
For more options, visit this group at