code_junkie

How can I find the source of rogue Ajax requests on IE?

Nov 12th, 2011
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. // Send the data
  2. try {
  3. xhr.send(s.data);
  4. } catch(e) {
  5. jQuery.handleError(s, xhr, null, e);
  6. }
  7.  
  8. if (inProcess == 0) {
  9.  
  10. inProcess = 1;
  11.  
  12. // do stuff
  13.  
  14. setTimeout('inProcess = 0', 5000);
  15.  
  16. }
Add Comment
Please, Sign In to add comment