Untitled


SUBMITTED BY: Guest

DATE: Dec. 16, 2012, 1:11 p.m.

FORMAT: Text only

SIZE: 408 Bytes

HITS: 1278

  1. try{
  2. xmlHttp.open('GET', url, true);
  3. xmlHttp.onload = function(e) {
  4. document.getElementById('saemlink').innerHTML=xmlHttp.responseText;
  5. }
  6. xmlHttp.send(); // because of "false" above, will block until the request is done
  7. // and status is available. Not recommended, however it works for simple cases.
  8. }catch(e)
  9. {alert(e);}
  10. console.log('dioporco');

comments powered by Disqus