Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 0.35 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Ajax not recognizing custom response header from page
  2. if(xmlhttp.getResponseHeader("Percent")<=100) ...
  3.        
  4. if(test=1)
  5.        
  6. if(test==1)
  7.        
  8. setTimeout(onSubmit(upload_id), 999);
  9.        
  10. setTimeout(function(){ onSubmit(upload_id); }, 999);
  11.        
  12. if(xmlhttp.getResponseHeader("Percent")<=100)
  13.        
  14. if( parseInt( xmlhttp.getResponseHeader("Percent"), 10) <= 100 )