View Full Version : AJAX to PHP file command

07-04-2008, 02:28 PM
What I'm looking to do is, I have a small gallery page that displays images. Below each image I have a link that is for deleting the image, but I don't want to have to go to another page and then reload and all that. What I need is an ajax command from my link so asynchronously call my php delete page then return with a small message box saying that it has completed or hasn't completed. How can I do this?

Thanks in advance for any help.

07-04-2008, 02:31 PM
It's very simple:
Learn ajax at http://www.w3schools.com/Ajax/Default.Asp

07-08-2008, 01:26 AM
Ok not exactly the answer I was looking for here. I came to this forum for a little bit of help please. I understand ajax and have used it before but I cannot get this to work, thank you.

07-08-2008, 02:08 AM
First of all, you may want to start with XMLHttpRequest and XMLDOM folders. This will allow you to access your .php page.