AJAX stands for Asynchronous JavaScript And XML.
Ajax is based on JavaScript language, besides it uses HTML, CSS and a language for the server-side (like PHP or ASP).
The AJAX lessons in this course are free and best suited for beginners, it offers the necessary elements to learn Ajax and work with it. But you need to know, at least at a beginner level, PHP and JavaScript.

• Useful questions and answers on Forum JavaScript -Ajax.

Ajax Lessons

  1. XMLHttpRequest object
    - XMLHttpRequest object, what is and what can you do with this JavaScript object. XMLHttpRequest properties and methods.
  2. AJAX with GET and PHP
    - Using AJAX to send data to a PHP script, via GET method. Displays the response received from PHP server.
  3. AJAX with POST and PHP
    - How to send data to a PHP script, via POST method. Simple example with Ajax, POST and PHP
  4. AJAX and Forms
    - How to get data from form fields and send it to a PHP script with Ajax, then it displays the response from server.
  5. Sending data with GET and POST in the same request
    - Sending data to a PHP script, with GET and POST togeter, in the same request.
  6. Uploading images to server with Ajax
    - How to upload images to server using Ajax technology and display them after uploading.
  7. Ajax and XML
    - Using Ajax to get data from an XML document. JavaScript DOM properties and methods for displaying the data from an XML document.
  8. Ajax and JSON
    - How to transform XML content in JSON, using data received in JSON format and transferring it with AJAX.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag is used to add lists into <ul> and <ol> elements?
<dt> <dd> <li>
<ul>
 <li>http://coursesweb.net/html/</li>
 <li>http://coursesweb.net/css/</li>
</ul>
Which value of the "display" property creates a block box for the content and ads a bullet marker?
block list-item inline-block
.some_class {
  display: list-item;
}
Which instruction converts a JavaScript object into a JSON string.
JSON.parse() JSON.stringify eval()
var obj = {
 "courses": ["php", "javascript", "ajax"]
};
var jsonstr = JSON.stringify(obj);
alert(jsonstr);    // {"courses":["php","javascript","ajax"]}
Indicate the PHP class used to work with HTML and XML content in PHP.
stdClass PDO DOMDocument
$strhtml = '<body><div id="dv1">CoursesWeb.net</div></body>';
$dochtml = new DOMDocument();
$dochtml->loadHTML($strhtml);
$elm = $dochtml->getElementById("dv1");
echo $elm->nodeValue;    // CoursesWeb.net
AJAX Course, free Lessons

Last accessed pages

  1. Transparent Background, but not the text-content on it (1227)
  2. Ajax-PHP Chat Script (32266)
  3. Drag Racer V3 (15436)
  4. Insert, Select and Update NULL value in MySQL (17154)
  5. Adobe Flash Courses ActionScript 3 Tutorials (4707)

Popular pages this month

  1. Qwop (7896)
  2. Drag Racer V3 (5541)
  3. Bubbles3 (2160)
  4. List with All the Games (1834)
  5. Flash Games - Free online Games (1718)