ajax php


This purpose of this lesson is to create the *.php file that was called out in the previous lesson.  responseText The property of XMLHttpRequest will store the data displayed by the *.php script to the browser. The idea is to simply echo the current date.  This example, which creates serverDate.php assumes that this file is located in the same directory as the HTML file.

Example: <?php

echo date(“m-d-y”);


This entry was posted in Ajax Tutorials and tagged , , , , , , , , , , , , . Bookmark the permalink.

One Response to ajax php

  1. The survey reveals that more than 50 IT Companies as well as their ancillary firms are enjoying the benefits of cloud computing.

Leave a Reply

Your email address will not be published.