Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) AJAX to PHP return code.

  • AJAX to PHP return code.

    Posted by Lauren Brogan on November 21, 2012 at 3:14 am

    I’m just getting into coding with AJAX and am having a bit of trouble figuring out how to use AJAX code that returns content from a PHP file. I basically need it to pass in a page name and have the PHP load the contents of the page, then return to the client, then place in a DIV. Any help would be greatly appreciated.

    Demetri Tashie replied 13 years, 5 months ago 2 Members · 1 Reply
  • 1 Reply
  • Demetri Tashie

    November 23, 2012 at 3:15 am

    if you work through these simple tutorials, you should get a good understanding of using AJAX to dynamically load contnet: https://www.w3schools.com/ajax/default.asp

    they go through step by step how to get your AJAX xml httprequests to work

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy