Mike's JavaScript and AJAX

Here we make GET and POST requests using AJAX

GET request for
GET request for
GET request for
GET request for
GET request for
POST request for
POST request for
POST request for
POST request for
POST request for


The AJAX code above makes reguests to the server using the GET and POST methods. The above AJAX code pretty much does the same thing that you would do if you clicked on the <FORM>'s that follow.

There are only two programs that are called. The first is

server_cgi_with_get.php
which uses the GET method. The second is
server_cgi_with_post.php
which uses the POST method.

These GET requests call server_cgi_with_get.php

These POST requests call server_cgi_with_post.php

Debug Menu:

Home