Advertisement
Guest User

Untitled

a guest
Jan 24th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. $(document).ready(function () {
  2. $(game_button).submit(function () {
  3. $.ajax({
  4. url: "postcontroller.php",
  5. type: "POST",
  6. data: values,
  7. success: function (response) {
  8.  
  9. },
  10. error: function (jqXHR, textStatus, errorThrown) {
  11. console.log(textStatus, errorThrown);
  12. }
  13. });
  14.  
  15. });
  16.  
  17. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement