PDA

View Full Version : Ajax Triggers from link element


macleodjb
07-28-2009, 05:00 PM
Hi guys,

I'm just starting out with Ajax, teaching myself actually from this book i bought called Professional Ajax 2nd edition.

I'm pretty clear on how to create an HTTP request and the PHP backend of it but what the book doesn't tell you is how to trigger a ajax/php query from a link.

What i am trying to do is have a link that triggers a php script that will update my sql table to show whether or not an object has been started, or completed.

Or something like diggs control panel where you update your contact info in the text boxes and then click the update link, and you get a flash message in the header. How is that done?

b_r_h
07-29-2009, 05:40 AM
Hi,

I'm also new with ajax.

I think you mean this.
Have a look at this thread ja it's first post.
http://www.codingforums.com/showthread.php?t=172481