Skip to content

Instantly share code, notes, and snippets.

View jaamaalxyz's full-sized avatar
🎯
Focusing

Md. Jamal Uddin jaamaalxyz

🎯
Focusing
View GitHub Profile
@Shakil-Shahadat
Shakil-Shahadat / Ajax GET Request.js
Last active June 23, 2024 23:33
[ Delete ] IE10+ [ Obsolete, use fetch instead ]
let http = new XMLHttpRequest();
http.open( 'GET', 'get.php' );
http.send();
http.onreadystatechange = function()
{
if ( http.readyState == 4 && http.status == 200 )
{
console.log( http.responseText );
}
}