এজ্যাক্স (Ajax)
function readData(method,url) {
const xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
console.log(this.responseText);
}
};
xhttp.open(method, url, true);
xhttp.send();
}Last updated