parent
d767f112fa
commit
353fcb7365
@ -0,0 +1,11 @@
|
|||||||
|
function begin(){
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
xhr.open('get','/begin?begin=1');
|
||||||
|
xhr.onload = function (){
|
||||||
|
var response = xhr.responseText;
|
||||||
|
console.log(response);
|
||||||
|
var json_data = eval('('+response+')');
|
||||||
|
console.log(json_data);
|
||||||
|
}
|
||||||
|
xhr.send(null);
|
||||||
|
}
|
Loading…
Reference in new issue