n0va_sa

JFP 14 Solution [pop email]

Sep 22nd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function(){var url = 'http://url.com/lab/webapp/jfp/14/email?name=john';
  2. var xhttp = new XMLHttpRequest();
  3. xhttp.onreadystatechange = function() {
  4. if (this.readyState == 4 && this.status == 200) {
  5. var data = xhttp.responseText;
  6. document.querySelector('#result').innerHTML="<h2>"+data+"</h2>";
  7. }};
  8. xhttp.open("GET", url, true);
  9. xhttp.send();})()
Add Comment
Please, Sign In to add comment