annopnod opened this issue 4 years ago · 1 comments
Avoid Callback Hell Programming from XMLHttpRequest
Add New Function
SynXMLHttpRequest
var xml=new SynXMLHttpRequest() ; xml.open('GET', 'test.php'); xml.send(FormData); var rs=JSON.parse(xml.result); console.log(rs);
Use fetch() and async/await.
fetch()