View Full Version : AJAX to PHP file command
jfreak53
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.
It's very simple:
Learn ajax at http://www.w3schools.com/Ajax/Default.Asp
jfreak53
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.
magicyte
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.
-magicyte
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.