Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- url: 'saveScores.php', //This is the current doc
- type: "POST",
- dataType:'json', // add json datatype to get json
- data: ({score: timer}),
- success: function(data){
- console.log(data);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement