How to build a simple Ajax

How to create a simple Ajax call to an other PHP file

How it works?

We use one HTML file with a simple JavaScript function wich call an Ajax.

The function sends data to the Ajax and the Ajax returns something else.

In my example the ajax just returns some text.


Full HTML

The whole html file with the form and the JavaScript functions.

2 comments

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*