From 815ec2d4994a6da150614129e80455ccf7cce763 Mon Sep 17 00:00:00 2001 From: neerholt Date: Wed, 17 Mar 2021 10:14:54 +0100 Subject: [PATCH] Added qweData --- Frontend/Index.html | 1 + Frontend/Javascript/qweData.js | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 Frontend/Javascript/qweData.js diff --git a/Frontend/Index.html b/Frontend/Index.html index 1de022d..71d30ad 100644 --- a/Frontend/Index.html +++ b/Frontend/Index.html @@ -632,6 +632,7 @@ + diff --git a/Frontend/Javascript/qweData.js b/Frontend/Javascript/qweData.js new file mode 100644 index 0000000..c3b2c9a --- /dev/null +++ b/Frontend/Javascript/qweData.js @@ -0,0 +1,15 @@ +$(window).on("load", function(){ + dataFetch(); +}); + + +function dataFetch(){ + $.ajax({ + type: "GET", + url: "/Game-Jaming/Backend/Controllers/FileHandler/GetGameData.php?gameJamId=1", + success: function(result){ + console.log(result); + console.log(result[0].game_link) + } + }); +} \ No newline at end of file