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

Which tag is a block element?
<div> <img> <span>
<div>Web Programming and Development</div>
Which CSS code displays the text underlined?
font-style: italic; text-decoration: underline; font-weight: 500;
h2 {
  text-decoration: underline;
Click on the JavaScript function that can access other function after a specified time.
insertBefore() setTimeout() querySelector()
function someFunction() { alert("CoursesWeb.net"); }
setTimeout("someFunction()", 2000);
Click on the instruction that returns the number of items of a multidimensional array in PHP.
count($array) count($array, 1) strlen()
$food = array("fruits" => array("banana", "apple"), "veggie" => array("collard", "pea"));
$nr_food = count($food, 1);
echo $nr_food;       // 6
AJAX Course, free Lessons

Last accessed pages

  1. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (9343)
  2. Get Attribute (ID, Class, Name, Title, Src) with jQuery (10524)
  3. Get CSS property value with JavaScript /jQuery (666)
  4. Jane Hotel (9)
  5. Display / Simulate a Loading Progress Bar (358)

Top accessed pages

  1. PHP-MySQL free course, online tutorials PHP MySQL code (11265)
  2. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (10889)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (10524)
  4. PHP Chat Script (9652)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (9343)