(1)write code for ajaxform.html : <html> <head> <script> function ajax_post() { // Create our XMLHttpRequest object var hr = new XMLHttpRequest(); // Create some variables we need to send to our PHP file var url = "insert.php"; var id = document.getElementById("id").value; var nm = document.getElementById("name").value; var vars = "id="+id+"&name="+nm; hr.open("POST", url, true); // Set content type header information for sending url encoded variables in the request hr.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); // Access the onreadystatechange event for the XMLHttpRequest object hr.onreadystatechange = fun...