Advertisement
Guest User

s.js (popup script)

a guest
Mar 30th, 2012
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Wrapped in function, so that I can manually call the function to debug
  2. function x() {
  3.     $.ajax({
  4.         type: "GET",
  5.         url: "http://www.flags.99k.org/getFlags.php"
  6.     }).done(function(response)
  7.     {
  8.         alert("SUCCESS: " + response);
  9.     }).fail(function(response)
  10.     {
  11.         alert("FAILURE: " + response);
  12.     });
  13. }
  14. x();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement