Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var url="https://nlportal.logica.com/obiwan/pages/,DanaInfo=.ahbenqjFnzx40u0t6qQu76+addWinner";
- url += "?name=MartialCharre";
- url += "&validatingUuid="+document.padme.validatingUuid.value;
- var xhr_object = null;
- if(window.XMLHttpRequest) // Firefox
- xhr_object = new XMLHttpRequest();
- else if(window.ActiveXObject) // Internet Explorer
- xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
- else { // XMLHttpRequest non supporté par le navigateur
- alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest...");
- return;
- }
- xhr_object.open("GET", "foo.txt", true);
- xhr_object.onreadystatechange = function() {
- if(this.readyState == 4) alert(this.responseText);
- }
- xhr_object.send(null);
- ;
Add Comment
Please, Sign In to add comment