diff --git a/mkwpp-parser/index.html b/mkwpp-parser/index.html index c422f93..7a432c0 100644 --- a/mkwpp-parser/index.html +++ b/mkwpp-parser/index.html @@ -11,7 +11,7 @@

Insert here the data!

- +
diff --git a/mkwpp-parser/script.js b/mkwpp-parser/script.js index c74b2ac..b4393a0 100644 --- a/mkwpp-parser/script.js +++ b/mkwpp-parser/script.js @@ -17,4 +17,9 @@ document.addEventListener("DOMContentLoaded", async function() { let playerList = profileDocument.getElementsByClassName("playerslist")[0] console.log(playerList); }); +}); + +document.getElementById("readInput").addEventListener("click", async function() { + let parserData = document.getElementById("inputTextArea").value; + console.log(parserData); }); \ No newline at end of file