Update test.html
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
<div id="output"></div>
|
<div id="output"></div>
|
||||||
<script>
|
<script>
|
||||||
function displayInfo() {
|
function displayInfo() {
|
||||||
console.log('function is running...');
|
alert('function is running...');
|
||||||
var xhttp = new XMLHttpRequest();
|
var xhttp = new XMLHttpRequest();
|
||||||
xhttp.onreadystatechange = funtion() {
|
xhttp.onreadystatechange = funtion() {
|
||||||
if (this.readyState == 4 && this.status == 200) {
|
if (this.readyState == 4 && this.status == 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user