Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
FallBackITA27 committed Apr 11, 2024
1 parent 0f3bca3 commit 5959f88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mkwpp-parser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="Tool">
<p>Insert here the data!</p>
<textarea id="inputTextArea" cols="30" rows="10">NOT YET FUNCTIONAL!!</textarea>
<button>Click here to start</button>
<button id="readInput">Click here to start</button>
<div id="output">
</div>
<div style="max-width: 80%;">
Expand Down
5 changes: 5 additions & 0 deletions mkwpp-parser/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

0 comments on commit 5959f88

Please sign in to comment.